public static class FLUSH.FlushHeader extends Header
Modifier and Type | Field and Description |
---|---|
static byte |
ABORT_FLUSH |
protected Digest |
digest |
static byte |
FLUSH_BYPASS |
static byte |
FLUSH_COMPLETED |
static byte |
FLUSH_NOT_COMPLETED |
static byte |
FLUSH_RECONCILE |
static byte |
FLUSH_RECONCILE_OK |
protected Collection<Address> |
flushParticipants |
static byte |
START_FLUSH |
static byte |
STOP_FLUSH |
protected byte |
type |
protected long |
viewID |
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) |
Digest |
getDigest() |
Collection<Address> |
getFlushParticipants() |
byte |
getType() |
long |
getViewID() |
void |
readFrom(DataInput 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(DataOutput 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
protected byte type
protected long viewID
protected Collection<Address> flushParticipants
protected Digest digest
public FlushHeader()
public FlushHeader(byte type)
public FlushHeader(byte type, long viewID)
public FlushHeader(byte type, long viewID, Collection<? extends Address> flushView)
public byte getType()
public long getViewID()
public Collection<Address> getFlushParticipants()
public Digest getDigest()
public int size()
Header
public void addDigest(Digest digest)
public void writeTo(DataOutput out) throws Exception
Streamable
Exception
public void readFrom(DataInput in) throws Exception
Streamable
Exception
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.