public class LocalStateHandle extends Object implements StateHandle<Serializable>
| Constructor and Description |
|---|
LocalStateHandle(Serializable state) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.flink.runtime.state.LocalStateHandle.LocalStateHandleProvider |
createProvider() |
void |
discardState()
Discards the state referred to by this handle, to free up resources in
the persistent storage.
|
Serializable |
getState()
This retrieves and return the state represented by the handle.
|
public LocalStateHandle(Serializable state)
public Serializable getState()
StateHandlegetState in interface StateHandle<Serializable>public void discardState()
throws Exception
StateHandlediscardState in interface StateHandle<Serializable>Exceptionpublic static org.apache.flink.runtime.state.LocalStateHandle.LocalStateHandleProvider createProvider()
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.