Class AsyncResultHandler<T>
- java.lang.Object
-
- com.codedstreams.otterstreams.sql.async.AsyncResultHandler<T>
-
public class AsyncResultHandler<T> extends Object
Handles async inference results.- Since:
- 1.0.0
- Author:
- Nestor Martourez, Sr Software and Data Streaming Engineer @ CodedStreams
-
-
Constructor Summary
Constructors Constructor Description AsyncResultHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleFailure(org.apache.flink.streaming.api.functions.async.ResultFuture<T> resultFuture, Throwable error)voidhandleSuccess(org.apache.flink.streaming.api.functions.async.ResultFuture<T> resultFuture, T result)voidhandleTimeout(org.apache.flink.streaming.api.functions.async.ResultFuture<T> resultFuture)
-
-
-
Method Detail
-
handleSuccess
public void handleSuccess(org.apache.flink.streaming.api.functions.async.ResultFuture<T> resultFuture, T result)
-
handleFailure
public void handleFailure(org.apache.flink.streaming.api.functions.async.ResultFuture<T> resultFuture, Throwable error)
-
handleTimeout
public void handleTimeout(org.apache.flink.streaming.api.functions.async.ResultFuture<T> resultFuture)
-
-