Interface CloseableBuffer<T>

    • Method Detail

      • put

        void put​(T message)
        Puts a message in this buffer.
        Parameters:
        message - the message to be put in this buffer
      • close

        void close()
        Closes this buffer from the producing side.
      • closeExceptionally

        void closeExceptionally​(ErrorMessage errorMessage)
        Closes this buffer exceptionally from the producing side.
        Parameters:
        errorMessage - an error indicating why this buffer is closed