Package io.trino.operator
Interface HttpPageBufferClient.ClientCallback
- Enclosing class:
HttpPageBufferClient
public static interface HttpPageBufferClient.ClientCallback
For each request, the addPage method will be called zero or more times,
followed by either requestComplete or clientFinished (if buffer complete). If the client is
closed, requestComplete or bufferFinished may never be called.
NOTE: Implementations of this interface are not allowed to perform blocking operations.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddPages(HttpPageBufferClient client, List<io.airlift.slice.Slice> pages) voidclientFailed(HttpPageBufferClient client, Throwable cause) voidclientFinished(HttpPageBufferClient client) voidrequestComplete(HttpPageBufferClient client)
-
Method Details
-
addPages
-
requestComplete
-
clientFinished
-
clientFailed
-