Class StateRequestBuffer<K>
- java.lang.Object
-
- org.apache.flink.runtime.asyncprocessing.StateRequestBuffer<K>
-
- Type Parameters:
K
- the type of the key
- All Implemented Interfaces:
Closeable
,AutoCloseable
@NotThreadSafe public class StateRequestBuffer<K> extends Object implements Closeable
A buffer to hold state requests to execute state requests in batch, which can only be manipulated within task thread.
-
-
Constructor Summary
Constructors Constructor Description StateRequestBuffer(long bufferTimeout, long bufferTimeoutCheckInterval, Consumer<Long> timeoutHandler)
-
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-