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.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.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 serialized payload bytes.default List<SerializedMessage> Retrieves a batch of messages starting from the givenlastIndex(exclusive), limiting both message count and serialized payload 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) 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.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.