jsr.daemon.pausable
Interface PausableListener
- All Superinterfaces:
- DaemonListener
- public interface PausableListener
- extends DaemonListener
interface for supplying listener functionality to be bound to a pausable daemon
Method Summary |
void |
paused(Pausable pausable,
boolean paused,
java.lang.Throwable throwable)
method called by a pausable daemon if pause state changes |
paused
public void paused(Pausable pausable,
boolean paused,
java.lang.Throwable throwable)
- method called by a pausable daemon if pause state changes
- Parameters:
pausable
- the pausable daemon changing its pause statepaused
- flag indicating the target pause statethrowable
- a throwable for indicating a possible exception