public class ShutdownCommand extends Object implements Runnable, WorkerAware, Serializable
| Constructor and Description |
|---|
ShutdownCommand(boolean now)
Constructor.
|
public ShutdownCommand(boolean now)
now - true if the worker should attempt to shutdown immediately,
false if the worker should finish the current jobpublic void setWorker(Worker worker)
setWorker in interface WorkerAwareworker - the Worker executing the jobCopyright © 2011-2015. All Rights Reserved.