Uses of Interface
org.apache.avro.ipc.Callback
Packages that use Callback
-
Uses of Callback in org.apache.avro.ipc
Classes in org.apache.avro.ipc that implement CallbackModifier and TypeClassDescriptionclass
CallFuture<T>
A Future implementation for RPCs.protected class
Handles callbacks from transceiver invocations.Methods in org.apache.avro.ipc with parameters of type CallbackModifier and TypeMethodDescription<T> void
Writes a request message and returns the result through a Callback.void
Transceiver.transceive
(List<ByteBuffer> request, Callback<List<ByteBuffer>> callback) Called byRequestor.request(String,Object,Callback)
for two-way messages using callbacks.Constructors in org.apache.avro.ipc with parameters of type CallbackModifierConstructorDescriptionCallFuture
(Callback<T> chainedCallback) Creates a CallFuture with a chained Callback which will be invoked when this CallFuture's Callback methods are invoked.TransceiverCallback
(org.apache.avro.ipc.Requestor.Request request, Callback<T> callback) Creates a TransceiverCallback. -
Uses of Callback in org.apache.avro.ipc.netty
Fields in org.apache.avro.ipc.netty declared as CallbackModifier and TypeFieldDescriptionprotected final Callback
<List<ByteBuffer>> NettyTransceiver.WriteFutureListener.callback
Methods in org.apache.avro.ipc.netty with parameters of type CallbackModifier and TypeMethodDescriptionvoid
NettyTransceiver.transceive
(List<ByteBuffer> request, Callback<List<ByteBuffer>> callback) Constructors in org.apache.avro.ipc.netty with parameters of type CallbackModifierConstructorDescriptionWriteFutureListener
(Callback<List<ByteBuffer>> callback) Creates a WriteFutureListener that notifies the given callback if an error occurs writing data to the channel.