T
- The type of the data that can be stored by this storage helper.public interface RetrievableStateStorageHelper<T extends Serializable>
ZooKeeperStateHandleStore
to persist state before
the state handle is written to ZooKeeper.Modifier and Type | Method and Description |
---|---|
RetrievableStateHandle<T> |
store(T state)
Stores the given state and returns a state handle to it.
|
RetrievableStateHandle<T> store(T state) throws Exception
state
- State to be storedException
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.