public class RingToken
extends java.lang.Object
implements java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
static int |
OPERATIONAL |
static int |
RECOVERY |
Modifier and Type | Method and Description |
---|---|
void |
addBacklog(int back) |
void |
addLastRoundBroadcastCount(int transmitCount) |
void |
addRecoveredMember(Address member) |
long |
getAllReceivedUpto() |
Address |
getAruId() |
int |
getBacklog() |
long |
getHighestSequence() |
int |
getLastRoundBroadcastCount() |
java.util.Collection |
getRecoveredMembers() |
java.util.Collection |
getRetransmissionRequests() |
long |
getTokenSequence() |
int |
getType() |
int |
getWindowSize() |
int |
getWindowThreshold() |
void |
incrementTokenSequence() |
void |
readExternal(java.io.ObjectInput oi) |
void |
setAllReceivedUpto(long aru) |
void |
setAruId(Address address) |
void |
setHighestSequence(long highestSequence) |
void |
setType(int type) |
void |
setWindowSize(int newSize) |
void |
setWindowThreshold(int newSize) |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput oo) |
public static final int OPERATIONAL
public static final int RECOVERY
public void setAruId(Address address)
public Address getAruId()
public int getType()
public void setType(int type)
public long getTokenSequence()
public void incrementTokenSequence()
public long getHighestSequence()
public void setHighestSequence(long highestSequence)
public long getAllReceivedUpto()
public void setAllReceivedUpto(long aru)
public int getLastRoundBroadcastCount()
public void addLastRoundBroadcastCount(int transmitCount)
public int getBacklog()
public void addBacklog(int back)
public void setWindowSize(int newSize)
public void addRecoveredMember(Address member)
public java.util.Collection getRecoveredMembers()
public int getWindowSize()
public void setWindowThreshold(int newSize)
public int getWindowThreshold()
public java.util.Collection getRetransmissionRequests()
public void writeExternal(java.io.ObjectOutput oo) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput oi) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.