public static class FLUSH.FlushHeader extends Header
| 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 |
| Constructor and Description |
|---|
FlushHeader() |
FlushHeader(byte type) |
FlushHeader(byte type,
long viewID) |
FlushHeader(byte type,
long viewID,
Collection<? extends Address> flushView) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDigest(Digest digest) |
void |
readFrom(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.
|
String |
toString() |
void |
writeTo(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 FlushHeader()
public FlushHeader(byte type)
public FlushHeader(byte type,
long viewID)
public FlushHeader(byte type,
long viewID,
Collection<? extends Address> flushView)
public int size()
Headerpublic void addDigest(Digest digest)
public void writeTo(DataOutputStream out) throws IOException
StreamableIOExceptionpublic void readFrom(DataInputStream in) throws IOException, IllegalAccessException, InstantiationException
StreamableCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.