|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.HMsg
public class HMsg
HMsg is for communicating instructions between the HMaster and the HRegionServers.
Field Summary | |
---|---|
static byte |
MSG_CALL_SERVER_STARTUP
Region server is unknown to master. |
static byte |
MSG_REGION_CLOSE
Stop serving the specified region |
static byte |
MSG_REGION_CLOSE_WITHOUT_REPORT
Stop serving the specified region and don't report back that it's closed |
static byte |
MSG_REGION_OPEN
Start serving the specified region |
static byte |
MSG_REGIONSERVER_QUIESCE
Stop serving user regions |
static byte |
MSG_REGIONSERVER_STOP
Master tells region server to stop |
static byte |
MSG_REPORT_CLOSE
region server is no longer serving the specified region |
static byte |
MSG_REPORT_EXITING
region server is shutting down note that this message is followed by MSG_REPORT_CLOSE messages for each region the region server was serving, unless it was told to quiesce. |
static byte |
MSG_REPORT_OPEN
region server is now serving the specified region |
static byte |
MSG_REPORT_PROCESS_OPEN
region server is processing open request |
static byte |
MSG_REPORT_QUIESCED
region server has closed all user regions but is still serving meta regions |
static byte |
MSG_REPORT_SPLIT
region server split the region associated with this message. |
Constructor Summary | |
---|---|
HMsg()
Default constructor. |
|
HMsg(byte msg)
Construct a message with an empty HRegionInfo |
|
HMsg(byte msg,
HRegionInfo info)
Construct a message with the specified message code and HRegionInfo |
Method Summary | |
---|---|
byte |
getMsg()
Accessor |
HRegionInfo |
getRegionInfo()
Accessor |
void |
readFields(DataInput in)
|
String |
toString()
|
void |
write(DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte MSG_REGION_OPEN
public static final byte MSG_REGION_CLOSE
public static final byte MSG_CALL_SERVER_STARTUP
public static final byte MSG_REGIONSERVER_STOP
public static final byte MSG_REGION_CLOSE_WITHOUT_REPORT
public static final byte MSG_REGIONSERVER_QUIESCE
public static final byte MSG_REPORT_OPEN
public static final byte MSG_REPORT_CLOSE
public static final byte MSG_REPORT_PROCESS_OPEN
public static final byte MSG_REPORT_SPLIT
public static final byte MSG_REPORT_EXITING
public static final byte MSG_REPORT_QUIESCED
Constructor Detail |
---|
public HMsg()
public HMsg(byte msg)
msg
- - message codepublic HMsg(byte msg, HRegionInfo info)
msg
- - message codeinfo
- - HRegionInfoMethod Detail |
---|
public byte getMsg()
public HRegionInfo getRegionInfo()
public String toString()
toString
in class Object
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |