@Deprecated public interface StateObject extends Closeable, Serializable
StateHandles(directly resolve to state) and
key/value state snapshots.
State objects define how to:
discardState()method defines how state is permanently disposed/deleted. After that method call, state may not be recoverable any more.
Closeable.close()method defines how to stop the current access or recovery to the state. Called for example when an operation is canceled during recovery.
|Modifier and Type||Method and Description|
Discards the state referred to by this handle, to free up resources in the persistent storage.
Returns the size of the state in bytes.
void discardState() throws Exception
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.