livespace.services
Class EntityContainer.EmitNotificationTask
java.lang.Object
dsto.dfc.util.Scheduler.Task
livespace.services.EntityContainer.EmitNotificationTask
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- EntityContainer
protected class EntityContainer.EmitNotificationTask
- extends Scheduler.Task
Used to emit a notification as a background task.
Method Summary |
void |
dispose()
Called when the task is in the scheduling queue (but not currently
running) and the scheduler is being shut down. |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityContainer.EmitNotificationTask
public EntityContainer.EmitNotificationTask(Notification ntfn)
run
public void run()
- Specified by:
run
in interface Runnable
- Specified by:
run
in class Scheduler.Task
dispose
public void dispose()
- Description copied from class:
Scheduler.Task
- Called when the task is in the scheduling queue (but not currently
running) and the scheduler is being shut down. After this has been
called, the task will not get another chance to run in the current
scheduler.
The default implementation calls run () if the task is scheduled to be
run now, does nothing if not. Subclasses may override as needed.
- Overrides:
dispose
in class Scheduler.Task
Copyright © 2008 Commonwealth of Australia