Enum ServerProcedureInterface.ServerOperationType
java.lang.Object
java.lang.Enum<ServerProcedureInterface.ServerOperationType>
org.apache.hadoop.hbase.master.procedure.ServerProcedureInterface.ServerOperationType
- All Implemented Interfaces:
Serializable
,Comparable<ServerProcedureInterface.ServerOperationType>
- Enclosing interface:
- ServerProcedureInterface
public static enum ServerProcedureInterface.ServerOperationType
extends Enum<ServerProcedureInterface.ServerOperationType>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionsend the claim replication queue request to region server to actually assign itGet all the replication queues of a crash server and assign them to other region servershelp find a available region server as worker and release worker after task done invoke SPLIT_WAL_REMOTE operation to send real WAL splitting request to worker manage the split wal task flow, will retry if SPLIT_WAL_REMOTE failedsend the split WAL request to region server and handle the responsesend verify snapshot request to region server and handle the response -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CRASH_HANDLER
-
SWITCH_RPC_THROTTLE
-
SPLIT_WAL
help find a available region server as worker and release worker after task done invoke SPLIT_WAL_REMOTE operation to send real WAL splitting request to worker manage the split wal task flow, will retry if SPLIT_WAL_REMOTE failed -
SPLIT_WAL_REMOTE
send the split WAL request to region server and handle the response -
CLAIM_REPLICATION_QUEUES
Get all the replication queues of a crash server and assign them to other region servers -
CLAIM_REPLICATION_QUEUE_REMOTE
send the claim replication queue request to region server to actually assign it -
VERIFY_SNAPSHOT
send verify snapshot request to region server and handle the response
-
-
Constructor Details
-
ServerOperationType
private ServerOperationType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-