org.apache.hadoop.hbase
Enum HMsg.Type

java.lang.Object
  extended by java.lang.Enum<HMsg.Type>
      extended by org.apache.hadoop.hbase.HMsg.Type
All Implemented Interfaces:
Serializable, Comparable<HMsg.Type>
Enclosing class:
HMsg

public static enum HMsg.Type
extends Enum<HMsg.Type>

Message types sent between master and regionservers


Enum Constant Summary
MSG_CALL_SERVER_STARTUP
          Region server is unknown to master.
MSG_NONE
           
MSG_REGION_CLOSE
          Stop serving the specified region
MSG_REGION_CLOSE_WITHOUT_REPORT
          Stop serving the specified region and don't report back that it's closed
MSG_REGION_OPEN
          Start serving the specified region
MSG_REGIONSERVER_QUIESCE
          Stop serving user regions
MSG_REGIONSERVER_STOP
          Master tells region server to stop
MSG_REPORT_CLOSE
          region server is no longer serving the specified region
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.
MSG_REPORT_OPEN
          region server is now serving the specified region
MSG_REPORT_PROCESS_OPEN
          region server is processing open request
MSG_REPORT_QUIESCED
          Region server has closed all user regions but is still serving meta regions
MSG_REPORT_SPLIT
          Region server split the region associated with this message.
 
Method Summary
static HMsg.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HMsg.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MSG_NONE

public static final HMsg.Type MSG_NONE

MSG_REGION_OPEN

public static final HMsg.Type MSG_REGION_OPEN
Start serving the specified region


MSG_REGION_CLOSE

public static final HMsg.Type MSG_REGION_CLOSE
Stop serving the specified region


MSG_CALL_SERVER_STARTUP

public static final HMsg.Type MSG_CALL_SERVER_STARTUP
Region server is unknown to master. Restart


MSG_REGIONSERVER_STOP

public static final HMsg.Type MSG_REGIONSERVER_STOP
Master tells region server to stop


MSG_REGION_CLOSE_WITHOUT_REPORT

public static final HMsg.Type MSG_REGION_CLOSE_WITHOUT_REPORT
Stop serving the specified region and don't report back that it's closed


MSG_REGIONSERVER_QUIESCE

public static final HMsg.Type MSG_REGIONSERVER_QUIESCE
Stop serving user regions


MSG_REPORT_OPEN

public static final HMsg.Type MSG_REPORT_OPEN
region server is now serving the specified region


MSG_REPORT_CLOSE

public static final HMsg.Type MSG_REPORT_CLOSE
region server is no longer serving the specified region


MSG_REPORT_PROCESS_OPEN

public static final HMsg.Type MSG_REPORT_PROCESS_OPEN
region server is processing open request


MSG_REPORT_SPLIT

public static final HMsg.Type MSG_REPORT_SPLIT
Region server split the region associated with this message. Note that this message is immediately followed by two MSG_REPORT_OPEN messages, one for each of the new regions resulting from the split


MSG_REPORT_EXITING

public static final HMsg.Type 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.


MSG_REPORT_QUIESCED

public static final HMsg.Type MSG_REPORT_QUIESCED
Region server has closed all user regions but is still serving meta regions

Method Detail

values

public static final HMsg.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(HMsg.Type c : HMsg.Type.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static HMsg.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2008 The Apache Software Foundation