diff options
Diffstat (limited to 'jdisc_core/src/main/java/com/yahoo/jdisc/handler/CompletionHandler.java')
-rw-r--r-- | jdisc_core/src/main/java/com/yahoo/jdisc/handler/CompletionHandler.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/handler/CompletionHandler.java b/jdisc_core/src/main/java/com/yahoo/jdisc/handler/CompletionHandler.java index 134a6aaea47..4975f32adfe 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/handler/CompletionHandler.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/handler/CompletionHandler.java @@ -18,7 +18,7 @@ import com.yahoo.jdisc.Container; * throughout its lifetime. This also means that the either {@link #completed()} or {@link #failed(Throwable)} MUST be * called in order to release that reference. Failure to do so will prevent the Container from ever shutting down. * - * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a> + * @author Simon Thoresen */ public interface CompletionHandler { @@ -27,7 +27,7 @@ public interface CompletionHandler { * release the internal {@link Container} reference. Failure to do so will prevent the Container from ever shutting * down. */ - public void completed(); + void completed(); /** * Invoked when an operation fails. Notice that you MUST call either this or {@link #completed()} to release the @@ -35,5 +35,6 @@ public interface CompletionHandler { * * @param t The exception to indicate why the I/O operation failed. */ - public void failed(Throwable t); + void failed(Throwable t); + } |