T - the type of messages in this bufferpublic interface CloseableBuffer<T> extends CloseableReadonlyBuffer<T>
buffer that can be closed by the producing side.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this buffer from the producing side.
|
void |
closeExceptionally(ErrorMessage errorMessage)
Closes this buffer exceptionally from the producing side.
|
void |
put(T message)
Puts a message in this buffer.
|
capacity, closed, error, isEmpty, onAvailable, pollvoid put(T message)
message - the message to be put in this buffervoid close()
void closeExceptionally(ErrorMessage errorMessage)
errorMessage - an error indicating why this buffer is closedCopyright © 2020–2022 AxonIQ BV. All rights reserved.