@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, set
getState, setState
public static final String STATE_NAME
public SnapshotCleanupStateStore(MasterRegion masterRegion, ZKWatcher watcher) throws IOException, org.apache.zookeeper.KeeperException, DeserializationException
IOException
org.apache.zookeeper.KeeperException
DeserializationException
protected byte[] toByteArray(boolean isSnapshotCleanupEnabled)
toByteArray
in class BooleanStateStore
protected boolean parseFrom(byte[] pbBytes) throws DeserializationException
parseFrom
in class BooleanStateStore
DeserializationException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.