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 |
protected byte |
type |
protected long |
viewID |
Constructor and Description |
---|
FlushHeader() |
FlushHeader(byte type) |
FlushHeader(byte type,
long viewID) |
Modifier and Type | Method and Description |
---|---|
Supplier<? extends Header> |
create()
Creates an instance of the class implementing this interface
|
short |
getMagicId()
Returns the magic-ID.
|
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 |
serializedSize()
Returns the size (in bytes) of the marshalled object
|
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
public FlushHeader()
public FlushHeader(byte type)
public FlushHeader(byte type, long viewID)
public short getMagicId()
Header
getMagicId
in class Header
public Supplier<? extends Header> create()
Constructable
public byte getType()
public long getViewID()
public int serializedSize()
SizeStreamable
public void writeTo(DataOutput out) throws Exception
Streamable
Exception
public void readFrom(DataInput in) throws Exception
Streamable
Exception
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.