|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jgroups.Header org.jgroups.protocols.CAUSAL.CausalHeader
public static final class CAUSAL.CausalHeader
Field Summary |
---|
Fields inherited from class org.jgroups.Header |
---|
HDR_OVERHEAD |
Constructor Summary | |
---|---|
CAUSAL.CausalHeader()
used for externalization |
|
CAUSAL.CausalHeader(TransportedVectorTime timeVector)
|
Method Summary | |
---|---|
TransportedVectorTime |
getVectorTime()
Returns a vector timestamp carreid by this header |
void |
readExternal(java.io.ObjectInput in)
Manual deserialization |
void |
readFrom(java.io.DataInputStream in)
Read the state of the current object (including superclasses) from instream Note that the input stream must not be closed |
int |
size()
Size of this vector timestamp estimation, used in fragmetation |
java.lang.String |
toString()
|
void |
writeExternal(java.io.ObjectOutput out)
Manual serialization |
void |
writeTo(java.io.DataOutputStream out)
Write the entire state of the current object (including superclasses) to outstream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CAUSAL.CausalHeader()
public CAUSAL.CausalHeader(TransportedVectorTime timeVector)
Method Detail |
---|
public TransportedVectorTime getVectorTime()
public int size()
size
in class Header
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void writeTo(java.io.DataOutputStream out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException
public void readFrom(java.io.DataInputStream in) throws java.io.IOException, java.lang.IllegalAccessException, java.lang.InstantiationException
Streamable
readFrom
in interface Streamable
java.io.IOException
java.lang.IllegalAccessException
java.lang.InstantiationException
public java.lang.String toString()
toString
in class Header
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |