|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.selector.TimerTask rice.pastry.socket.SocketCollectionManager.MessageRetry
Internal class which represents a message which is currently delayed, waiting for an open socket. The message will be tried using exponential backoff up to BACKOFF_LIMIT times before being dropped.
Field Summary | |
protected SocketSourceRouteManager.AddressManager |
am
DESCRIBE THE FIELD |
protected SocketBuffer |
message
DESCRIBE THE FIELD |
protected SourceRoute |
route
DESCRIBE THE FIELD |
protected long |
timeout
DESCRIBE THE FIELD |
protected int |
tries
DESCRIBE THE FIELD |
Fields inherited from class rice.selector.TimerTask |
cancelled, fixedRate, nextExecutionTime, period |
Constructor Summary | |
SocketCollectionManager.MessageRetry(SourceRoute route,
SocketBuffer message,
SocketSourceRouteManager.AddressManager am)
Constructor, taking a message and the route |
Method Summary | |
void |
run()
Main processing method for the DeadChecker object |
Methods inherited from class rice.selector.TimerTask |
cancel, compareTo, execute, isCancelled, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int tries
protected long timeout
protected SourceRoute route
protected SocketBuffer message
protected SocketSourceRouteManager.AddressManager am
Constructor Detail |
public SocketCollectionManager.MessageRetry(SourceRoute route, SocketBuffer message, SocketSourceRouteManager.AddressManager am)
message
- The messageroute
- The routeam
- DESCRIBE THE PARAMETERMethod Detail |
public void run()
run
in interface CancellableTask
run
in class TimerTask
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |