Uses of Interface
com.yahoo.jdisc.handler.CompletionHandler
Package
Description
Provides classes and interfaces for implementing a
RequestHandler
.Provides classes and interfaces for implementing unit tests of jDISC components.
-
Uses of CompletionHandler in com.yahoo.jdisc.handler
Modifier and TypeClassDescriptionfinal class
This class provides an implementation ofCompletionHandler
that allows you to wait for eitherFutureCompletion.completed()
orFutureCompletion.failed(Throwable)
to be called.Modifier and TypeMethodDescriptionvoid
BufferedContentChannel.close
(CompletionHandler handler) void
ContentChannel.close
(CompletionHandler handler) Closes this ContentChannel.void
NullContent.close
(CompletionHandler handler) void
ReadableContentChannel.close
(CompletionHandler handler) void
BufferedContentChannel.write
(ByteBuffer buf, CompletionHandler handler) void
ContentChannel.write
(ByteBuffer buf, CompletionHandler handler) Schedules the givenByteBuffer
to be written to the content corresponding to this ContentChannel.void
NullContent.write
(ByteBuffer buf, CompletionHandler handler) void
ReadableContentChannel.write
(ByteBuffer buf, CompletionHandler handler) -
Uses of CompletionHandler in com.yahoo.jdisc.test
Modifier and TypeMethodDescriptionvoid
NonWorkingContentChannel.close
(CompletionHandler handler) void
NonWorkingContentChannel.write
(ByteBuffer buf, CompletionHandler handler)