public class WorkAdapter extends Object implements WorkListener
WorkListener instances by extending this class
and overriding only those methods of interest.| Constructor and Description |
|---|
WorkAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
workAccepted(WorkEvent e)
Invoked when a
Work instance has been accepted. |
void |
workCompleted(WorkEvent e)
Invoked when a
Work instance has completed execution. |
void |
workRejected(WorkEvent e)
Invoked when a
Work instance has been rejected. |
void |
workStarted(WorkEvent e)
Invoked when a
Work instance has started execution. |
public void workAccepted(WorkEvent e)
Work instance has been accepted.workAccepted in interface WorkListenerpublic void workRejected(WorkEvent e)
Work instance has been rejected.workRejected in interface WorkListenerpublic void workStarted(WorkEvent e)
Work instance has started execution.
This only means that a thread has been allocated.workStarted in interface WorkListenerpublic void workCompleted(WorkEvent e)
Work instance has completed execution.workCompleted in interface WorkListenerCopyright © 2013. All Rights Reserved.