org.javagroups.protocols.ring
Class RingToken
java.lang.Object
|
+--org.javagroups.protocols.ring.RingToken
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- public class RingToken
- extends java.lang.Object
- implements java.io.Externalizable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OPERATIONAL
public static int OPERATIONAL
RECOVERY
public static int RECOVERY
RingToken
public RingToken()
RingToken
public RingToken(int type)
setAruId
public void setAruId(Address address)
getAruId
public Address getAruId()
getType
public int getType()
setType
public void setType(int type)
getTokenSequence
public long getTokenSequence()
incrementTokenSequence
public void incrementTokenSequence()
getHighestSequence
public long getHighestSequence()
setHighestSequence
public void setHighestSequence(long highestSequence)
getAllReceivedUpto
public long getAllReceivedUpto()
setAllReceivedUpto
public void setAllReceivedUpto(long aru)
getLastRoundBroadcastCount
public int getLastRoundBroadcastCount()
addLastRoundBroadcastCount
public void addLastRoundBroadcastCount(int transmitCount)
getBacklog
public int getBacklog()
addBacklog
public void addBacklog(int back)
setWindowSize
public void setWindowSize(int newSize)
addRecoveredMember
public void addRecoveredMember(Address member)
getRecoveredMembers
public java.util.Collection getRecoveredMembers()
getWindowSize
public int getWindowSize()
setWindowThreshold
public void setWindowThreshold(int newSize)
getWindowThreshold
public int getWindowThreshold()
getRetransmissionRequests
public java.util.Collection getRetransmissionRequests()
writeExternal
public void writeExternal(java.io.ObjectOutput oo)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput oi)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright ? 2001,2002 www.javagroups.com . All Rights Reserved.