Package org.apache.hadoop.hbase.master
Class SplitOrMergeStateStore
java.lang.Object
org.apache.hadoop.hbase.master.SplitOrMergeStateStore
Tracks the switch of split and merge states.
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSplitOrMergeStateStore
(MasterRegion masterRegion, ZKWatcher watcher, org.apache.hadoop.conf.Configuration conf) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isSplitOrMergeEnabled
(MasterSwitchType switchType) void
setSplitOrMergeEnabled
(boolean enabled, MasterSwitchType switchType)
-
Field Details
-
SPLIT_STATE_NAME
- See Also:
-
MERGE_STATE_NAME
- See Also:
-
splitStateStore
-
mergeStateStore
-
-
Constructor Details
-
SplitOrMergeStateStore
public SplitOrMergeStateStore(MasterRegion masterRegion, ZKWatcher watcher, org.apache.hadoop.conf.Configuration conf) throws IOException, org.apache.zookeeper.KeeperException, DeserializationException - Throws:
IOException
org.apache.zookeeper.KeeperException
DeserializationException
-
-
Method Details
-
isSplitOrMergeEnabled
-
setSplitOrMergeEnabled
- Throws:
IOException
-