public static class FLUSH.FlushHeader extends Header implements Streamable
| Modifier and Type | Field and Description |
|---|---|
static byte |
ABORT_FLUSH |
static byte |
FLUSH_BYPASS |
static byte |
FLUSH_COMPLETED |
static byte |
FLUSH_NOT_COMPLETED |
static byte |
FLUSH_RECONCILE |
static byte |
FLUSH_RECONCILE_OK |
static byte |
START_FLUSH |
static byte |
STOP_FLUSH |
HDR_OVERHEAD| Constructor and Description |
|---|
FLUSH.FlushHeader() |
FLUSH.FlushHeader(byte type) |
FLUSH.FlushHeader(byte type,
long viewID) |
FLUSH.FlushHeader(byte type,
long viewID,
java.util.Collection<Address> flushView) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDigest(Digest digest) |
void |
readExternal(java.io.ObjectInput in) |
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()
To be implemented by subclasses.
|
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput out) |
void |
writeTo(java.io.DataOutputStream out)
Write the entire state of the current object (including superclasses) to outstream.
|
public static final byte START_FLUSH
public static final byte STOP_FLUSH
public static final byte FLUSH_COMPLETED
public static final byte ABORT_FLUSH
public static final byte FLUSH_BYPASS
public static final byte FLUSH_RECONCILE
public static final byte FLUSH_RECONCILE_OK
public static final byte FLUSH_NOT_COMPLETED
public FLUSH.FlushHeader()
public FLUSH.FlushHeader(byte type)
public FLUSH.FlushHeader(byte type,
long viewID)
public FLUSH.FlushHeader(byte type,
long viewID,
java.util.Collection<Address> flushView)
public int size()
Headerpublic void addDigest(Digest digest)
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeTo(java.io.DataOutputStream out)
throws java.io.IOException
StreamablewriteTo in interface Streamablejava.io.IOExceptionpublic void readFrom(java.io.DataInputStream in)
throws java.io.IOException,
java.lang.IllegalAccessException,
java.lang.InstantiationException
StreamablereadFrom in interface Streamablejava.io.IOExceptionjava.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionCopyright ? 1998-2008 Bela Ban. All Rights Reserved.