Uses of Interface
com.yahoo.jdisc.handler.CompletionHandler
Packages that use 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
Classes in com.yahoo.jdisc.handler that implement CompletionHandlerModifier and TypeClassDescriptionfinal class
This class provides an implementation ofCompletionHandler
that allows you to wait for eitherFutureCompletion.completed()
orFutureCompletion.failed(Throwable)
to be called.Methods in com.yahoo.jdisc.handler with parameters of type CompletionHandlerModifier 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
Classes in com.yahoo.jdisc.test that implement CompletionHandlerMethods in com.yahoo.jdisc.test with parameters of type CompletionHandlerModifier and TypeMethodDescriptionvoid
NonWorkingContentChannel.close
(CompletionHandler handler) void
NonWorkingContentChannel.write
(ByteBuffer buf, CompletionHandler handler)