Package com.yahoo.jdisc.test
Class NonWorkingCompletionHandler
java.lang.Object
com.yahoo.jdisc.test.NonWorkingCompletionHandler
- All Implemented Interfaces:
CompletionHandler
- Author:
- Simon Thoresen Hult
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NonWorkingCompletionHandler
public NonWorkingCompletionHandler()
-
-
Method Details
-
completed
public void completed()Description copied from interface:CompletionHandler
Invoked when an operation has completed. Notice that you MUST call either this orCompletionHandler.failed(Throwable)
to release the internalContainer
reference. Failure to do so will prevent the Container from ever shutting down.- Specified by:
completed
in interfaceCompletionHandler
-
failed
Description copied from interface:CompletionHandler
Invoked when an operation fails. Notice that you MUST call either this orCompletionHandler.completed()
to release the internalContainer
reference. Failure to do so will prevent the Container from ever shutting down.- Specified by:
failed
in interfaceCompletionHandler
- Parameters:
t
- The exception to indicate why the I/O operation failed.
-