public class Barrier extends Writable
Constructor and Description |
---|
Barrier() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the data
|
int |
getNumWriteBytes()
Get the number of bytes of the encoded data
|
boolean |
getStatus()
Get the status
|
void |
read(java.io.DataInput in)
Read the status from DataInput
|
void |
setStatus(boolean st)
Set the status
|
void |
write(java.io.DataOutput out)
Write the status to DataOutput
|
create, encode, forClass, free, getNumEnocdeBytes, newInstance, release
public void setStatus(boolean st)
st
- the statuspublic boolean getStatus()
public void write(java.io.DataOutput out) throws java.io.IOException
public void read(java.io.DataInput in) throws java.io.IOException
public int getNumWriteBytes()
getNumWriteBytes
in class Writable