Uses of Interface
com.yahoo.jdisc.handler.CompletionHandler
-
Packages that use CompletionHandler Package Description com.yahoo.jdisc.handler Provides classes and interfaces for implementing aRequestHandler
.com.yahoo.jdisc.test 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 CompletionHandler Modifier and Type Class Description class
FutureCompletion
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 CompletionHandler Modifier and Type Method Description void
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 CompletionHandler Modifier and Type Class Description class
NonWorkingCompletionHandler
Methods in com.yahoo.jdisc.test with parameters of type CompletionHandler Modifier and Type Method Description void
NonWorkingContentChannel. close(CompletionHandler handler)
void
NonWorkingContentChannel. write(ByteBuffer buf, CompletionHandler handler)
-