| Package | Description |
|---|---|
| net.openhft.chronicle.wire |
| Modifier and Type | Method and Description |
|---|---|
DocumentContext |
DocumentWritten.acquireWritingDocument(boolean metaData)
Obtains a
DocumentContext for writing. |
DocumentContext |
MarshallableOut.acquireWritingDocument(boolean metaData)
Start or reuse an existing a DocumentContext, optionally call close() when done.
|
default void |
MarshallableOut.writeBytes(@NotNull net.openhft.chronicle.bytes.WriteBytesMarshallable marshallable)
Serializes a Marshallable object directly to bytes.
|
default <T> void |
MarshallableOut.writeDocument(T t,
@NotNull BiConsumer<ValueOut,T> writer)
Writes a provided object using a custom marshalling mechanism specified by a
BiConsumer. |
default void |
MarshallableOut.writeDocument(@NotNull WriteMarshallable writer)
Writes a Marshallable object as a document or message.
|
default void |
MarshallableOut.writeMap(@NotNull Map<?,?> map)
Writes a provided map into the underlying
DocumentContext as a marshallable object. |
default void |
MarshallableOut.writeMessage(String eventName,
Object value)
Writes a message with a specified event name and associated object value.
|
default void |
MarshallableOut.writeMessage(WireKey key,
Object value)
Write a key and value which could be a scalar or a marshallable.
|
default void |
MarshallableOut.writeText(@NotNull CharSequence text)
Writes a provided text message into the underlying
DocumentContext. |
default @NotNull DocumentContext |
MarshallableOut.writingDocument()
Start a document which is completed when DocumentContext.close() is called.
|
DocumentContext |
DocumentWritten.writingDocument(boolean metaData)
Initiates a new
DocumentContext for writing, with an option to include
metadata. |
DocumentContext |
MarshallableOut.writingDocument(boolean metaData)
Begins a new document-writing session with the option to include meta-data.
|
Copyright © 2024. All rights reserved.