summaryrefslogtreecommitdiffstats
path: root/jdisc_core/src/main/java/com/yahoo/jdisc/handler/CompletionHandler.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2017-10-27 14:18:58 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2017-10-27 14:18:58 +0200
commit704131deda2614516bff5329802c61fe4526a834 (patch)
treeb7b2af4b0e4bc569895a7ec87053ebab5697a3d1 /jdisc_core/src/main/java/com/yahoo/jdisc/handler/CompletionHandler.java
parent5fcbb66f52d44b286f0898ab318f7e6269330f4e (diff)
Nonfunctional changes only
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.java7
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);
+
}