Interface Closable.CloseBuilder<B extends Closable.CloseBuilder<B>>

    • Method Detail

      • withClose

        B withClose​()
             throws CloseException
        Builder method for the Closable.close() method.
        Returns:
        The instance to be returned on which to apply succeeding builder operations.
        Throws:
        CloseException - in case closing or pre-closing (flushing) fails.
      • withCloseQuietly

        B withCloseQuietly​()
        Builder method for the Closable.closeQuietly() method.
        Returns:
        The instance to be returned on which to apply succeeding builder operations.
      • withCloseIn

        B withCloseIn​(int aCloseInMillis)
        Builder method for the Closable.closeIn( int ) method.
        Parameters:
        aCloseInMillis - The time in milliseconds to pass till Closable.close() is called.
        Returns:
        The instance to be returned on which to apply succeeding builder operations.