| 
 | Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.selector.TimerTask
| Field Summary | |
| protected  boolean | cancelledDESCRIBE THE FIELD | 
| protected  boolean | fixedRateDESCRIBE THE FIELD | 
| protected  long | nextExecutionTimeDESCRIBE THE FIELD | 
| protected  int | periodIf period is positive, task will be rescheduled. | 
| Constructor Summary | |
| TimerTask() | |
| Method Summary | |
|  boolean | cancel()DESCRIBE THE METHOD | 
|  int | compareTo(java.lang.Object arg0)DESCRIBE THE METHOD | 
|  boolean | execute(TimeSource ts)Returns true if should re-insert. | 
|  boolean | isCancelled()Gets the Cancelled attribute of the TimerTask object | 
| abstract  void | run()Main processing method for the TimerTask object | 
|  long | scheduledExecutionTime()DESCRIBE THE METHOD | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected long nextExecutionTime
protected boolean cancelled
protected int period
protected boolean fixedRate
| Constructor Detail | 
public TimerTask()
| Method Detail | 
public boolean isCancelled()
public abstract void run()
run in interface CancellableTaskpublic boolean execute(TimeSource ts)
ts - DESCRIBE THE PARAMETER
public boolean cancel()
cancel in interface CancellableTaskpublic long scheduledExecutionTime()
scheduledExecutionTime in interface CancellableTaskpublic int compareTo(java.lang.Object arg0)
compareTo in interface java.lang.Comparablearg0 - DESCRIBE THE PARAMETER
| 
 | Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||