@InterfaceAudience.Private public class SnapshotCleanupStateStore extends BooleanStateStore
| Modifier and Type | Field and Description |
|---|---|
static String |
STATE_NAME |
| Constructor and Description |
|---|
SnapshotCleanupStateStore(MasterRegion masterRegion,
ZKWatcher watcher) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
parseFrom(byte[] pbBytes) |
protected byte[] |
toByteArray(boolean isSnapshotCleanupEnabled) |
get, setgetState, setStatepublic static final String STATE_NAME
public SnapshotCleanupStateStore(MasterRegion masterRegion, ZKWatcher watcher) throws IOException, org.apache.zookeeper.KeeperException, DeserializationException
IOExceptionorg.apache.zookeeper.KeeperExceptionDeserializationExceptionprotected byte[] toByteArray(boolean isSnapshotCleanupEnabled)
toByteArray in class BooleanStateStoreprotected boolean parseFrom(byte[] pbBytes)
throws DeserializationException
parseFrom in class BooleanStateStoreDeserializationExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.