Interface WriteHandler


public interface WriteHandler
A handler for consuming the result of an asynchronous write operation.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Called after an asynchronous write operation has completed.
  • Method Details

    • writeCompleted

      boolean writeCompleted(Throwable thrown) throws Exception
      Called after an asynchronous write operation has completed.
      Parameters:
      thrown - error of failed write or null if no error.
      Returns:
      true if next write operation should be performed.
      Throws:
      Exception - if an unexpected error occurs.