@FunctionalInterface public interface MarshallableIn
| Modifier and Type | Field and Description |
|---|---|
static int |
MARSHALLABLE_IN_INTERN_SIZE |
| Modifier and Type | Method and Description |
|---|---|
default @NotNull net.openhft.chronicle.bytes.MethodReader |
methodReader(Object... objects)
Reads messages from this tails as methods.
|
default @NotNull VanillaMethodReaderBuilder |
methodReaderBuilder() |
default boolean |
readBytes(@NotNull net.openhft.chronicle.bytes.Bytes<?> using) |
default boolean |
readBytes(@NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable reader) |
default boolean |
readDocument(@NotNull ReadMarshallable reader) |
@NotNull DocumentContext |
readingDocument() |
default <K,V> @Nullable Map<K,V> |
readMap()
Read a Map>String, Object> from the content.
|
default @Nullable String |
readText()
Read the next message as a String
|
default boolean |
readText(@NotNull StringBuilder sb)
Read the next message as string
|
@NotNull @NotNull DocumentContext readingDocument()
default boolean readDocument(@NotNull
@NotNull ReadMarshallable reader)
reader - user to read the documenttrue if successfuldefault boolean readBytes(@NotNull
@NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable reader)
reader - used to read the documenttrue if successfuldefault boolean readBytes(@NotNull
@NotNull net.openhft.chronicle.bytes.Bytes<?> using)
using - used to read the documenttrue if successful@Nullable default @Nullable String readText()
default boolean readText(@NotNull
@NotNull StringBuilder sb)
sb - to copy the text into@Nullable default <K,V> @Nullable Map<K,V> readMap()
@NotNull default @NotNull net.openhft.chronicle.bytes.MethodReader methodReader(Object... objects)
objects - which implement the methods serialized to the file.@NotNull default @NotNull VanillaMethodReaderBuilder methodReaderBuilder()
Copyright © 2022. All rights reserved.