|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.selector.TimerTask
rice.pastry.socket.SocketCollectionManager.MessageRetry
protected class 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, seq |
| 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)
route - The routemessage - The messageam - DESCRIBE THE PARAMETER| Method Detail |
|---|
public void run()
run in interface CancellableTaskrun in class TimerTask
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||