|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of EventType in org.apache.hadoop.hbase |
---|
Methods in org.apache.hadoop.hbase that return EventType | |
---|---|
EventType |
RegionTransition.getEventType()
|
Methods in org.apache.hadoop.hbase with parameters of type EventType | |
---|---|
static RegionTransition |
RegionTransition.createRegionTransition(EventType type,
byte[] regionName,
ServerName sn)
|
static RegionTransition |
RegionTransition.createRegionTransition(EventType type,
byte[] regionName,
ServerName sn,
byte[] payload)
|
Uses of EventType in org.apache.hadoop.hbase.executor |
---|
Fields in org.apache.hadoop.hbase.executor declared as EventType | |
---|---|
protected EventType |
EventHandler.eventType
|
Methods in org.apache.hadoop.hbase.executor that return EventType | |
---|---|
static EventType |
EventType.get(int code)
|
EventType |
EventHandler.getEventType()
Return the event type |
static EventType |
EventType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EventType[] |
EventType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in org.apache.hadoop.hbase.executor with parameters of type EventType | |
---|---|
void |
ExecutorService.registerListener(EventType type,
EventHandler.EventHandlerListener listener)
Subscribe to updates before and after processing instances of EventType . |
EventHandler.EventHandlerListener |
ExecutorService.unregisterListener(EventType type)
Stop receiving updates before and after processing instances of EventType |
Constructors in org.apache.hadoop.hbase.executor with parameters of type EventType | |
---|---|
EventHandler(Server server,
EventType eventType)
Default base class constructor. |
Uses of EventType in org.apache.hadoop.hbase.master.handler |
---|
Constructors in org.apache.hadoop.hbase.master.handler with parameters of type EventType | |
---|---|
TableEventHandler(EventType eventType,
TableName tableName,
Server server,
MasterServices masterServices)
|
Uses of EventType in org.apache.hadoop.hbase.regionserver |
---|
Methods in org.apache.hadoop.hbase.regionserver with parameters of type EventType | |
---|---|
static int |
RegionMergeTransaction.transitionMergingNode(ZooKeeperWatcher zkw,
HRegionInfo merged,
HRegionInfo a,
HRegionInfo b,
ServerName serverName,
int znodeVersion,
EventType beginState,
EventType endState)
Transitions an existing ephemeral node for the specified region which is currently in the begin state to be in the end state. |
static int |
SplitTransaction.transitionSplittingNode(ZooKeeperWatcher zkw,
HRegionInfo parent,
HRegionInfo a,
HRegionInfo b,
ServerName serverName,
int znodeVersion,
EventType beginState,
EventType endState)
Transitions an existing ephemeral node for the specified region which is currently in the begin state to be in the end state. |
Uses of EventType in org.apache.hadoop.hbase.regionserver.handler |
---|
Constructors in org.apache.hadoop.hbase.regionserver.handler with parameters of type EventType | |
---|---|
CloseRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
boolean abort,
boolean zk,
int versionOfClosingNode,
EventType eventType)
|
|
CloseRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
boolean abort,
boolean zk,
int versionOfClosingNode,
EventType eventType,
ServerName destination)
|
|
OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
long masterSystemTime,
EventType eventType,
int versionOfOfflineNode)
|
Uses of EventType in org.apache.hadoop.hbase.zookeeper |
---|
Methods in org.apache.hadoop.hbase.zookeeper with parameters of type EventType | |
---|---|
static void |
ZKAssign.createNodeOffline(ZooKeeperWatcher zkw,
HRegionInfo region,
ServerName serverName,
EventType event)
|
static boolean |
ZKAssign.deleteNode(ZooKeeperWatcher zkw,
String encodedRegionName,
EventType expectedState,
int expectedVersion)
Deletes an existing unassigned node that is in the specified state for the specified region. |
static boolean |
ZKAssign.deleteNode(ZooKeeperWatcher zkw,
String encodedRegionName,
EventType expectedState,
ServerName sn)
Deletes an existing unassigned node that is in the specified state for the specified region. |
static boolean |
ZKAssign.deleteNode(ZooKeeperWatcher zkw,
String encodedRegionName,
EventType expectedState,
ServerName serverName,
int expectedVersion)
Deletes an existing unassigned node that is in the specified state for the specified region. |
static int |
ZKAssign.transitionNode(ZooKeeperWatcher zkw,
HRegionInfo region,
ServerName serverName,
EventType beginState,
EventType endState,
int expectedVersion)
Method that actually performs unassigned node transitions. |
static int |
ZKAssign.transitionNode(ZooKeeperWatcher zkw,
HRegionInfo region,
ServerName serverName,
EventType beginState,
EventType endState,
int expectedVersion,
byte[] payload)
|
static int |
ZKAssign.transitionNodeOpening(ZooKeeperWatcher zkw,
HRegionInfo region,
ServerName serverName,
EventType beginState)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |