|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mpisws.p2p.transport.liveness.LivenessTransportLayerImpl.EntityManager
public class LivenessTransportLayerImpl.EntityManager
Internal class which is charges with managing the remote connection via a specific route
Field Summary | |
---|---|
protected Identifier |
identifier
|
protected int |
liveness
|
protected LivenessTransportLayerImpl.DeadChecker |
pending
|
protected long |
updated
|
Constructor Summary | |
---|---|
LivenessTransportLayerImpl.EntityManager(Identifier identifier)
Constructor - builds a route manager given the route |
Method Summary | |
---|---|
protected boolean |
checkLiveness(java.util.Map<java.lang.String,java.lang.Integer> options)
Method which checks to see this route is dead. |
void |
destroy()
|
protected void |
markAlive()
This method should be called when this route is declared alive. |
protected void |
markDead()
This method should be called when this route is declared dead. |
protected void |
markSuspected()
This method should be called when this route is declared suspected. |
int |
rto()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Identifier identifier
protected int liveness
protected long updated
protected LivenessTransportLayerImpl.DeadChecker pending
Constructor Detail |
---|
public LivenessTransportLayerImpl.EntityManager(Identifier identifier)
route
- The routeMethod Detail |
---|
public int rto()
protected void markAlive()
protected void markSuspected()
protected void markDead()
protected boolean checkLiveness(java.util.Map<java.lang.String,java.lang.Integer> options)
public java.lang.String toString()
toString
in class java.lang.Object
public void destroy()
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |