org.jfree.report.util
Class WorkerHandle

java.lang.Object
  extended byorg.jfree.report.util.WorkerHandle

public class WorkerHandle
extends java.lang.Object

The worker handle is a control structure which allows control over the worker without exposing the thread object.

Author:
Thomas Morgner

Constructor Summary
WorkerHandle(Worker worker)
          Creates a new handle for the given worker.
 
Method Summary
 void finish()
          Finishes the worker.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkerHandle

public WorkerHandle(Worker worker)
Creates a new handle for the given worker.

Parameters:
worker - the worker.
Method Detail

finish

public void finish()
Finishes the worker.