Uses of Class
io.fluxzero.common.api.tracking.MessageBatch
Packages that use MessageBatch
Package
Description
-
Uses of MessageBatch in io.fluxzero.common.tracking
Methods in io.fluxzero.common.tracking with parameters of type MessageBatchModifier and TypeMethodDescriptionvoidSimpleTracker.send(MessageBatch batch) voidTracker.send(MessageBatch batch) Sends a batch of messages to this tracker.voidWebSocketTracker.send(MessageBatch batch) default voidTracker.sendEmptyBatch(MessageBatch batch) Sends an empty batch (typically used to signal idle or shutdown).protected voidDefaultTrackingStrategy.waitForMessages(Tracker tracker, MessageBatch emptyBatch, PositionStore positionStore) protected voidDefaultTrackingStrategy.waitForUpdate(Tracker tracker, MessageBatch emptyBatch, Runnable followUp) Constructor parameters in io.fluxzero.common.tracking with type arguments of type MessageBatchModifierConstructorDescriptionSimpleTracker(String consumerName, int maxSize, Consumer<MessageBatch> handler) WebSocketTracker(Read read, MessageType messageType, String clientId, String sessionId, Consumer<MessageBatch> handler) -
Uses of MessageBatch in io.fluxzero.sdk.tracking
Subinterfaces with type arguments of type MessageBatch in io.fluxzero.sdk.trackingModifier and TypeInterfaceDescriptioninterfaceABatchInterceptorspecialization that transforms aMessageBatchbefore it is passed to the consumer for processing.interfaceABatchInterceptorspecialization that transforms aMessageBatchbefore it is passed to the consumer for processing.Methods in io.fluxzero.sdk.tracking that return MessageBatchModifier and TypeMethodDescriptionMappingBatchInterceptor.apply(MessageBatch messageBatch, Tracker tracker) Applies a transformation to the givenMessageBatch, optionally modifying its contents or structure.Methods in io.fluxzero.sdk.tracking that return types with arguments of type MessageBatchModifier and TypeMethodDescriptionBatchInterceptor.intercept(Consumer<MessageBatch> consumer, Tracker tracker) Intercepts the given batch message consumer and returns a decorated version to be invoked by the tracker.FluxzeroInterceptor.intercept(Consumer<MessageBatch> consumer, Tracker tracker) default Consumer<MessageBatch> MappingBatchInterceptor.intercept(Consumer<MessageBatch> consumer, Tracker tracker) Wraps the batch processing consumer with a transformation step that rewrites the batch before processing.StallingBatchInterceptor.intercept(Consumer<MessageBatch> consumer, Tracker tracker) Methods in io.fluxzero.sdk.tracking with parameters of type MessageBatchModifier and TypeMethodDescriptionMappingBatchInterceptor.apply(MessageBatch messageBatch, Tracker tracker) Applies a transformation to the givenMessageBatch, optionally modifying its contents or structure.Method parameters in io.fluxzero.sdk.tracking with type arguments of type MessageBatchModifier and TypeMethodDescriptionBatchInterceptor.intercept(Consumer<MessageBatch> consumer, Tracker tracker) Intercepts the given batch message consumer and returns a decorated version to be invoked by the tracker.FluxzeroInterceptor.intercept(Consumer<MessageBatch> consumer, Tracker tracker) default Consumer<MessageBatch> MappingBatchInterceptor.intercept(Consumer<MessageBatch> consumer, Tracker tracker) Wraps the batch processing consumer with a transformation step that rewrites the batch before processing.StallingBatchInterceptor.intercept(Consumer<MessageBatch> consumer, Tracker tracker) -
Uses of MessageBatch in io.fluxzero.sdk.tracking.client
Methods in io.fluxzero.sdk.tracking.client that return MessageBatchModifier and TypeMethodDescriptionprotected MessageBatchprotected MessageBatchCachingTrackingClient.getMessageBatch(ConsumerConfiguration config, long minIndex, ClaimSegmentResult claim) default MessageBatchTrackingClient.readAndWait(String trackerId, Long lastIndex, ConsumerConfiguration configuration) Reads the next availableMessageBatchfor the given tracker and blocks until messages are available.Methods in io.fluxzero.sdk.tracking.client that return types with arguments of type MessageBatchModifier and TypeMethodDescriptionCachingTrackingClient.read(String trackerId, Long lastIndex, ConsumerConfiguration config) LocalTrackingClient.read(String trackerId, Long lastIndex, ConsumerConfiguration config) TrackingClient.read(String trackerId, Long lastIndex, ConsumerConfiguration trackingConfiguration) Asynchronously reads the next availableMessageBatchfor a given tracker.WebsocketTrackingClient.read(String trackerId, Long lastIndex, ConsumerConfiguration configuration) Methods in io.fluxzero.sdk.tracking.client with parameters of type MessageBatch -
Uses of MessageBatch in io.fluxzero.sdk.tracking.metrics
Methods in io.fluxzero.sdk.tracking.metrics that return types with arguments of type MessageBatchModifier and TypeMethodDescriptionDisableMetrics.intercept(Consumer<MessageBatch> consumer, Tracker tracker) TrackerMonitor.intercept(Consumer<MessageBatch> consumer, Tracker tracker) Method parameters in io.fluxzero.sdk.tracking.metrics with type arguments of type MessageBatchModifier and TypeMethodDescriptionDisableMetrics.intercept(Consumer<MessageBatch> consumer, Tracker tracker) TrackerMonitor.intercept(Consumer<MessageBatch> consumer, Tracker tracker)