public interface StateHandleProvider<T> extends Serializable
StateHandles to store each checkpoint in a persistent storage layer.| Modifier and Type | Method and Description |
|---|---|
StateHandle<T> |
createStateHandle(T state)
Creates a new
StateHandle instance that will be used to store the
state checkpoint. |
StateHandle<T> createStateHandle(T state)
StateHandle instance that will be used to store the
state checkpoint. This method is called for each state checkpoint saved.state - State to be stored in the handle.Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.