|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgroups.Header
org.jgroups.protocols.CAUSAL.CausalNewViewHeader
public static final class CAUSAL.CausalNewViewHeader
| Field Summary | |
|---|---|
static java.lang.String |
NAME
|
| Fields inherited from class org.jgroups.Header |
|---|
HDR_OVERHEAD |
| Constructor Summary | |
|---|---|
CAUSAL.CausalNewViewHeader()
Used for externalization. |
|
CAUSAL.CausalNewViewHeader(ViewId newViewId,
int localTime,
boolean complete)
|
|
| Method Summary | |
|---|---|
int |
getLocalTime()
|
ViewId |
getNewViewId()
|
boolean |
isComplete()
|
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 fragmentation. |
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 |
| Field Detail |
|---|
public static final java.lang.String NAME
| Constructor Detail |
|---|
public CAUSAL.CausalNewViewHeader(ViewId newViewId,
int localTime,
boolean complete)
public CAUSAL.CausalNewViewHeader()
| Method Detail |
|---|
public ViewId getNewViewId()
public int getLocalTime()
public boolean isComplete()
public int size()
size in class Header
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
public void writeTo(java.io.DataOutputStream out)
throws java.io.IOException
Streamable
writeTo in interface Streamablejava.io.IOException
public void readFrom(java.io.DataInputStream in)
throws java.io.IOException,
java.lang.IllegalAccessException,
java.lang.InstantiationException
Streamable
readFrom in interface Streamablejava.io.IOException
java.lang.IllegalAccessException
java.lang.InstantiationExceptionpublic java.lang.String toString()
toString in class Header
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||