Class SnapshotCleanupStateStore
java.lang.Object
org.apache.hadoop.hbase.master.MasterStateStore
org.apache.hadoop.hbase.master.BooleanStateStore
org.apache.hadoop.hbase.master.snapshot.SnapshotCleanupStateStore
Store the snapshot cleanup enabled state.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
parseFrom
(byte[] pbBytes) protected byte[]
toByteArray
(boolean isSnapshotCleanupEnabled) Methods inherited from class org.apache.hadoop.hbase.master.BooleanStateStore
get, set
Methods inherited from class org.apache.hadoop.hbase.master.MasterStateStore
getState, setState
-
Field Details
-
STATE_NAME
- See Also:
-
-
Constructor Details
-
SnapshotCleanupStateStore
public SnapshotCleanupStateStore(MasterRegion masterRegion, ZKWatcher watcher) throws IOException, org.apache.zookeeper.KeeperException, DeserializationException - Throws:
IOException
org.apache.zookeeper.KeeperException
DeserializationException
-
-
Method Details
-
toByteArray
- Specified by:
toByteArray
in classBooleanStateStore
-
parseFrom
- Specified by:
parseFrom
in classBooleanStateStore
- Throws:
DeserializationException
-