diff options
Diffstat (limited to 'jdisc_core/src/main/java/com/yahoo/jdisc/handler/BlockingContentWriter.java')
-rw-r--r-- | jdisc_core/src/main/java/com/yahoo/jdisc/handler/BlockingContentWriter.java | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/handler/BlockingContentWriter.java b/jdisc_core/src/main/java/com/yahoo/jdisc/handler/BlockingContentWriter.java index ab03f282c33..3a2adf60ccf 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/handler/BlockingContentWriter.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/handler/BlockingContentWriter.java @@ -6,12 +6,12 @@ import java.util.concurrent.ExecutionException; import java.util.Objects; /** - * <p>This class provides a blocking <em>write</em>-interface to a {@link ContentChannel}. Both {@link + * This class provides a blocking <em>write</em>-interface to a {@link ContentChannel}. Both {@link * #write(ByteBuffer)} and {@link #close()} methods provide an internal {@link CompletionHandler} to the decorated * {@link ContentChannel} calls, and wait for these to be called before returning. If {@link - * CompletionHandler#failed(Throwable)} is called, the corresponding Throwable is thrown to the caller.</p> + * CompletionHandler#failed(Throwable)} is called, the corresponding Throwable is thrown to the caller. * - * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a> + * @author Simon Thoresen * @see FastContentWriter */ public final class BlockingContentWriter { @@ -19,7 +19,7 @@ public final class BlockingContentWriter { private final ContentChannel channel; /** - * <p>Creates a new BlockingContentWriter that encapsulates a given {@link ContentChannel}.</p> + * Creates a new BlockingContentWriter that encapsulates a given {@link ContentChannel}. * * @param content The ContentChannel to encapsulate. * @throws NullPointerException If the <em>content</em> argument is null. @@ -30,7 +30,7 @@ public final class BlockingContentWriter { } /** - * <p>Writes to the underlying {@link ContentChannel} and waits for the operation to complete.</p> + * Writes to the underlying {@link ContentChannel} and waits for the operation to complete. * * @param buf The ByteBuffer to write. * @throws InterruptedException If the thread was interrupted while waiting. @@ -54,7 +54,7 @@ public final class BlockingContentWriter { } /** - * <p>Closes the underlying {@link ContentChannel} and waits for the operation to complete.</p> + * Closes the underlying {@link ContentChannel} and waits for the operation to complete. * * @throws InterruptedException If the thread was interrupted while waiting. * @throws RuntimeException If the operation failed to complete, see cause for details. @@ -75,4 +75,5 @@ public final class BlockingContentWriter { throw new RuntimeException(t); } } + } |