@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 |
---|---|
void |
discardState()
Deprecated.
Discards the state referred to by this handle, to free up resources in
the persistent storage.
|
long |
getStateSize()
Deprecated.
Returns the size of the state in bytes.
|
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.