@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)
throws net.openhft.chronicle.core.io.InvalidMarshallableException
reader - user to read the documenttrue if successfulnet.openhft.chronicle.core.io.InvalidMarshallableExceptiondefault boolean readBytes(@NotNull
@NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable reader)
throws net.openhft.chronicle.core.io.InvalidMarshallableException
reader - used to read the documenttrue if successfulnet.openhft.chronicle.core.io.InvalidMarshallableExceptiondefault boolean readBytes(@NotNull
@NotNull net.openhft.chronicle.bytes.Bytes<?> using)
throws net.openhft.chronicle.core.io.InvalidMarshallableException
using - used to read the documenttrue if successfulnet.openhft.chronicle.core.io.InvalidMarshallableException@Nullable default @Nullable String readText() throws net.openhft.chronicle.core.io.InvalidMarshallableException
net.openhft.chronicle.core.io.InvalidMarshallableExceptiondefault boolean readText(@NotNull
@NotNull StringBuilder sb)
throws net.openhft.chronicle.core.io.InvalidMarshallableException
sb - to copy the text intonet.openhft.chronicle.core.io.InvalidMarshallableException@Nullable default <K,V> @Nullable Map<K,V> readMap() throws net.openhft.chronicle.core.io.InvalidMarshallableException
net.openhft.chronicle.core.io.InvalidMarshallableException@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 © 2023. All rights reserved.