Rice Pastry API

rice.selector
Class TimerTask

java.lang.Object
  extended byrice.selector.TimerTask
All Implemented Interfaces:
CancellableTask, java.lang.Comparable
Direct Known Subclasses:
ScheduledMessage, SocketCollectionManager.DeadChecker, SocketCollectionManager.MessageRetry

public abstract class TimerTask
extends java.lang.Object
implements java.lang.Comparable, CancellableTask

Version:
$Id: pretty.settings,v 1.3 2005/03/11 20:22:33 jeffh Exp $
Author:
Jeff Hoye

Constructor Summary
TimerTask()
           
 
Method Summary
 boolean cancel()
          DESCRIBE THE METHOD
 int compareTo(java.lang.Object arg0)
          DESCRIBE THE METHOD
 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
 

Constructor Detail

TimerTask

public TimerTask()
Method Detail

isCancelled

public boolean isCancelled()
Gets the Cancelled attribute of the TimerTask object

Returns:
The Cancelled value

run

public abstract void run()
Main processing method for the TimerTask object

Specified by:
run in interface CancellableTask

cancel

public boolean cancel()
DESCRIBE THE METHOD

Specified by:
cancel in interface CancellableTask
Returns:
DESCRIBE THE RETURN VALUE

scheduledExecutionTime

public long scheduledExecutionTime()
DESCRIBE THE METHOD

Specified by:
scheduledExecutionTime in interface CancellableTask
Returns:
DESCRIBE THE RETURN VALUE

compareTo

public int compareTo(java.lang.Object arg0)
DESCRIBE THE METHOD

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
arg0 - DESCRIBE THE PARAMETER
Returns:
DESCRIBE THE RETURN VALUE

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection