T
- public interface StateStorageHelper<T extends Serializable>
ZooKeeperStateHandleStore
to persiste state before
the state handle is written to ZooKeeper.Modifier and Type | Method and Description |
---|---|
StateHandle<T> |
store(T state)
Stores the given state and returns a state handle to it.
|
StateHandle<T> store(T state) throws Exception
state
- State to be storedException
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.