public interface StateInterface
Modifier and Type | Method and Description |
---|---|
void |
deleteAll()
Flush all keys in the state implementation
|
void |
done()
Notify state implementation no further processing will occur
|
void |
initialize()
Perform any setup required to read and write state
|
<T> StateCursor<T> |
newCursor(Class<T> stateClass,
boolean transaction)
Allocate new state cursor
|
void done()
void deleteAll() throws StateException
StateException
- StateExceptionvoid initialize() throws StateException
StateException
- StateException<T> StateCursor<T> newCursor(Class<T> stateClass, boolean transaction) throws StateException
T
- Class used in state storagestateClass
- Class used in state storagetransaction
- If true, allocate cursor as a transactionStateException
- StateExceptionCopyright © 2022. All rights reserved.