public interface BytesContext
extends net.openhft.chronicle.core.io.Closeable
Modifier and Type | Method and Description |
---|---|
Bytes<?> |
bytes()
Retrieves the bytes to be written.
|
default boolean |
isClosed()
Checks whether the context is closed.
|
int |
key()
Retrieves the key to be written.
|
default void |
rollbackOnClose()
Performs a rollback operation when the context is closed.
|
Bytes<?> bytes()
Bytes
object to be written to.int key()
default boolean isClosed()
isClosed
in interface net.openhft.chronicle.core.io.QueryCloseable
true
if the context is closed, false
otherwise.UnsupportedOperationException
- if the method is not overridden.default void rollbackOnClose()
Copyright © 2023. All rights reserved.