public static class GenericWriteAheadSink.ExactlyOnceState extends Object implements org.apache.flink.runtime.state.StateHandle<Serializable>
| Modifier and Type | Field and Description |
|---|---|
protected TreeMap<Long,org.apache.flink.api.java.tuple.Tuple2<Long,org.apache.flink.runtime.state.StateHandle<org.apache.flink.core.memory.DataInputView>>> |
pendingHandles |
| Constructor and Description |
|---|
ExactlyOnceState() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
discardState() |
TreeMap<Long,org.apache.flink.api.java.tuple.Tuple2<Long,org.apache.flink.runtime.state.StateHandle<org.apache.flink.core.memory.DataInputView>>> |
getState(ClassLoader userCodeClassLoader) |
long |
getStateSize() |
String |
toString() |
public TreeMap<Long,org.apache.flink.api.java.tuple.Tuple2<Long,org.apache.flink.runtime.state.StateHandle<org.apache.flink.core.memory.DataInputView>>> getState(ClassLoader userCodeClassLoader) throws Exception
getState in interface org.apache.flink.runtime.state.StateHandle<Serializable>Exceptionpublic 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.