net.sf.asyncobjects.util.timer
Class TimerTaskAdapter.InternalTimerTask
java.lang.Object
net.sf.asyncobjects.AsyncUnicastServer<ATimerTask>
net.sf.asyncobjects.util.timer.TimerTaskAdapter.InternalTimerTask
- All Implemented Interfaces:
- AsyncObject, ExplicitSharing, ATimerTask
- Enclosing class:
- TimerTaskAdapter
public final class TimerTaskAdapter.InternalTimerTask
- extends AsyncUnicastServer<ATimerTask>
- implements ATimerTask
Internal class that acutally implemetns interface
Method Summary |
void |
accepted(ACallable<Boolean> cancelAction)
This method is called when task were accepted to timer |
void |
run(long scheduledExecutionTime)
Run the task |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
run
public void run(long scheduledExecutionTime)
- Description copied from interface:
ATimerTask
- Run the task
- Specified by:
run
in interface ATimerTask
- Parameters:
scheduledExecutionTime
- a time when the task was scheduled. it might be used to check
if the task is too late.- See Also:
ATimerTask.run(long)
accepted
public void accepted(ACallable<Boolean> cancelAction)
- Description copied from interface:
ATimerTask
- This method is called when task were accepted to timer
- Specified by:
accepted
in interface ATimerTask
- See Also:
ATimerTask.accepted(net.sf.asyncobjects.util.callbacks.ACallable)
Copyright © 2002-2007 Constantine Plotnikov. All Rights Reserved.