Interface ServerProcedureInterface
- All Known Implementing Classes:
ClaimReplicationQueueRemoteProcedure
,ClaimReplicationQueuesProcedure
,HBCKServerCrashProcedure
,ServerCrashProcedure
,SplitWALProcedure
,SplitWALRemoteProcedure
,SwitchRpcThrottleProcedure
,SwitchRpcThrottleRemoteProcedure
Procedures that handle servers -- e.g. server crash -- must implement this Interface. It is used
by the procedure runner to figure locking and what queuing.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns Name of this server instance.Given an operation type we can take decisions about what to do with pending operations.boolean
Returns True if this server has an hbase:meta table region.
-
Method Details
-
getServerName
Returns Name of this server instance. -
hasMetaTableRegion
boolean hasMetaTableRegion()Returns True if this server has an hbase:meta table region. -
getServerOperationType
Given an operation type we can take decisions about what to do with pending operations. e.g. if we get a crash handler and we have some assignment operation pending we can abort those operations.- Returns:
- the operation type that the procedure is executing.
-