| Access | Constructor and Description |
|---|---|
| private | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Buffer | |
| protected BufferRef | receive(Buffer
The buf)Buffer that is received by the recipient,
and needs to be wrapped in a new BufferHolder instance.Implements abstract io. BufferHolder is received by the recipient.
|
| public void |
| BufferRef | back to summary |
|---|---|
| private BufferRef(Buffer buf) Create a reference to the given buffer.
| |
| BufferRef | back to summary |
|---|---|
| public BufferRef(Send<Buffer> send) Create a reference that holds the exclusive ownership of the sent buffer. | |
| content | back to summary |
|---|---|
| public Buffer content() Access the buffer in this reference.
| |
| receive | back to summary |
|---|---|
| protected BufferRef receive(Buffer buf) Implements abstract io. Doc from io. Called when a sent
| |
| replace | back to summary |
|---|---|
| public void replace(Send<Buffer> send) Replace the underlying referenced buffer with the given buffer. Note this method closes the current buffer, and takes exclusive ownership of the received buffer. The buffer assignment is performed using a volatile store. | |