@Internal public class StreamTaskStateList extends Object implements org.apache.flink.runtime.state.StateHandle<StreamTaskState[]>
| Constructor and Description |
|---|
StreamTaskStateList(StreamTaskState[] states) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
discardState() |
StreamTaskState[] |
getState(ClassLoader userCodeClassLoader) |
long |
getStateSize() |
boolean |
isEmpty() |
public StreamTaskStateList(StreamTaskState[] states) throws Exception
Exceptionpublic boolean isEmpty()
public StreamTaskState[] getState(ClassLoader userCodeClassLoader)
getState in interface org.apache.flink.runtime.state.StateHandle<StreamTaskState[]>public void discardState()
throws Exception
discardState in interface org.apache.flink.runtime.state.StateObjectExceptionpublic long getStateSize()
throws Exception
getStateSize in interface org.apache.flink.runtime.state.StateObjectExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.