Class QueuingCallback<T>
- java.lang.Object
-
- org.apache.flink.runtime.io.disk.iomanager.QueuingCallback<T>
-
- All Implemented Interfaces:
RequestDoneCallback<T>
public class QueuingCallback<T> extends Object implements RequestDoneCallback<T>
ARequestDoneCallback
that adds the memory segments to a blocking queue.
-
-
Constructor Summary
Constructors Constructor Description QueuingCallback(LinkedBlockingQueue<T> queue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
requestFailed(T buffer, IOException e)
void
requestSuccessful(T buffer)
-
-
-
Constructor Detail
-
QueuingCallback
public QueuingCallback(LinkedBlockingQueue<T> queue)
-
-
Method Detail
-
requestSuccessful
public void requestSuccessful(T buffer)
- Specified by:
requestSuccessful
in interfaceRequestDoneCallback<T>
-
requestFailed
public void requestFailed(T buffer, IOException e)
- Specified by:
requestFailed
in interfaceRequestDoneCallback<T>
-
-