Uses of Class
io.fluxzero.common.api.SerializedMessage
Packages that use SerializedMessage
Package
Description
-
Uses of SerializedMessage in io.fluxzero.common.api
Methods in io.fluxzero.common.api that return SerializedMessageModifier and TypeMethodDescription -
Uses of SerializedMessage in io.fluxzero.common.api.internal
Methods in io.fluxzero.common.api.internal that return SerializedMessageModifier and TypeMethodDescriptionstatic SerializedMessageBinaryWire.decodeEnvelope(byte[] bytes, int maximumValueSize) Decodes exactly one native message envelope while retaining zero-copy payload and metadata views.static SerializedMessageBinaryWire.prepareEnvelope(SerializedMessage message) Prepares a message once for reuse by an enclosing transport codec.BinaryWire.Reader.readEnvelope()Methods in io.fluxzero.common.api.internal that return types with arguments of type SerializedMessageModifier and TypeMethodDescriptionstatic List<SerializedMessage> BinaryWire.decodeEnvelopes(byte[] bytes, int maximumValueSize) Decodes a sequence while retaining zero-copy payload and metadata views.static List<SerializedMessage> BinaryWire.decodeEnvelopes(byte[] bytes, int offset, int length, int maximumValueSize) Decodes a native-envelope sequence from a byte range.static List<SerializedMessage> BinaryWire.prepareEnvelopes(List<SerializedMessage> messages) Prepares a message sequence, retaining the original list when every envelope is reusable.Methods in io.fluxzero.common.api.internal with parameters of type SerializedMessageModifier and TypeMethodDescriptionstatic byte[]BinaryWire.encodeEnvelope(SerializedMessage message) Encodes one native message envelope.static intBinaryWire.envelopeSize(SerializedMessage message) Returns the complete encoded size of one native message envelope.static intBinaryWire.nestedEnvelopeSize(SerializedMessage message) Returns the size of a native envelope when embedded as one length-delimited wire value.static SerializedMessageBinaryWire.prepareEnvelope(SerializedMessage message) Prepares a message once for reuse by an enclosing transport codec.voidBinaryWire.Writer.writeEnvelope(SerializedMessage message) Method parameters in io.fluxzero.common.api.internal with type arguments of type SerializedMessageModifier and TypeMethodDescriptionstatic byte[]BinaryWire.encodeEnvelopes(List<SerializedMessage> messages) Encodes a sequence of concatenated native message envelopes.static List<SerializedMessage> BinaryWire.prepareEnvelopes(List<SerializedMessage> messages) Prepares a message sequence, retaining the original list when every envelope is reusable. -
Uses of SerializedMessage in io.fluxzero.common.api.publishing
Constructor parameters in io.fluxzero.common.api.publishing with type arguments of type SerializedMessageModifierConstructorDescriptionAppend(long requestId, MessageType messageType, List<SerializedMessage> messages, Guarantee guarantee) Restores an append request received through an optimized transport representation.Append(MessageType messageType, List<SerializedMessage> messages, Guarantee guarantee) -
Uses of SerializedMessage in io.fluxzero.common.api.tracking
Methods in io.fluxzero.common.api.tracking with parameters of type SerializedMessageModifier and TypeMethodDescriptionbooleanPosition.isNewMessage(SerializedMessage message) Indicates whether the message index is newer than what is currently tracked for its segment. -
Uses of SerializedMessage in io.fluxzero.common.serialization
Methods in io.fluxzero.common.serialization that return types with arguments of type SerializedMessageModifier and TypeMethodDescriptionstatic List<SerializedMessage> SerializedMessagePackCodec.decode(byte[] bytes) Decodes zero or more consecutive serialized messages.static List<SerializedMessage> SerializedMessagePackCodec.decode(byte[] bytes, int offset, int length) Decodes consecutive serialized messages from a zero-copy byte range. -
Uses of SerializedMessage in io.fluxzero.common.tracking
Subinterfaces with type arguments of type SerializedMessage in io.fluxzero.common.trackingModifier and TypeInterfaceDescriptioninterfaceA low-level store for serialized messages.Methods in io.fluxzero.common.tracking that return SerializedMessageModifier and TypeMethodDescriptionprotected SerializedMessageDefaultTrackingStrategy.ensureMessageSegment(SerializedMessage message) Methods in io.fluxzero.common.tracking that return types with arguments of type SerializedMessageModifier and TypeMethodDescriptionprotected List<SerializedMessage> DefaultTrackingStrategy.filter(List<SerializedMessage> messages, int[] segmentRange, Position position, Tracker tracker) protected Predicate<SerializedMessage> DefaultTrackingStrategy.filterPredicate(int[] segmentRange, Position position, Tracker tracker) protected List<SerializedMessage> default List<SerializedMessage> Retrieves a batch of messages starting from the givenlastIndex(exclusive).Retrieves a batch of messages starting from the givenminIndex.default List<SerializedMessage> Retrieves a batch of messages starting from the givenminIndex, limiting both message count and complete serialized message bytes.default List<SerializedMessage> Retrieves a batch of messages starting from the givenlastIndex(exclusive), limiting both message count and complete serialized message bytes.MessageStoreBatch.messages()Returns the value of themessagesrecord component.Methods in io.fluxzero.common.tracking with parameters of type SerializedMessageModifier and TypeMethodDescriptiondefault CompletableFuture<Void> MessageStore.append(SerializedMessage... messages) Appends the given messages to the store.default booleanTracker.canHandle(SerializedMessage message, int[] segmentRange) Checks if the given message can be handled by this tracker based on segment range and type filtering.protected SerializedMessageDefaultTrackingStrategy.ensureMessageSegment(SerializedMessage message) Method parameters in io.fluxzero.common.tracking with type arguments of type SerializedMessageModifier and TypeMethodDescriptionMessageStore.append(List<SerializedMessage> messages) Appends a list of messages to the store.protected List<SerializedMessage> DefaultTrackingStrategy.filter(List<SerializedMessage> messages, int[] segmentRange, Position position, Tracker tracker) protected voidDefaultTrackingStrategy.onUpdate(List<SerializedMessage> messages) static MessageStoreBatchMessageStoreBatch.scan(Iterable<SerializedMessage> source, int maxSize, long maxBytes, Predicate<? super SerializedMessage> filter) Scans source messages until the source count or accepted-message byte budget is exhausted.static MessageStoreBatchMessageStoreBatch.scan(Iterable<SerializedMessage> source, int maxSize, long maxBytes, Predicate<? super SerializedMessage> filter) Scans source messages until the source count or accepted-message byte budget is exhausted.protected MessageStoreBatchDefaultTrackingStrategy.scanBatch(int[] segment, Position position, int batchSize, long maxBytes, Predicate<? super SerializedMessage> filter) protected MessageStoreBatchDefaultTrackingStrategy.scanBatch(int[] segment, Position position, int batchSize, long maxBytes, Predicate<? super SerializedMessage> filter, boolean includeDocumentTombstones) default MessageStoreBatchMessageStore.scanBatch(Long minIndex, int maxSize, boolean inclusive, long maxBytes, Predicate<? super SerializedMessage> filter) Scans messages starting from the givenminIndex, returning messages accepted byfilterand metadata about the unfiltered source scan.default MessageStoreBatchMessageStore.scanBatch(Long minIndex, int maxSize, boolean inclusive, long maxBytes, Predicate<? super SerializedMessage> filter, boolean includeDocumentTombstones) Scans messages with optional document tombstones.Constructor parameters in io.fluxzero.common.tracking with type arguments of type SerializedMessageModifierConstructorDescriptionMessageStoreBatch(List<SerializedMessage> messages, Long lastScannedIndex, int scannedSize, boolean byteLimited) Creates an instance of aMessageStoreBatchrecord class.