Uses of Enum Class
io.fluxcapacitor.common.Guarantee
Packages that use Guarantee
Package
Description
-
Uses of Guarantee in io.fluxcapacitor.common
Methods in io.fluxcapacitor.common that return Guarantee -
Uses of Guarantee in io.fluxcapacitor.common.api
Methods in io.fluxcapacitor.common.api that return GuaranteeModifier and TypeMethodDescriptionabstract Guarantee
Command.getGuarantee()
Indicates the delivery guarantee required for this command. -
Uses of Guarantee in io.fluxcapacitor.common.api.keyvalue
Methods in io.fluxcapacitor.common.api.keyvalue that return GuaranteeModifier and TypeMethodDescriptionStoreValueIfAbsent.getGuarantee()
StoreValuesAndWait.getGuarantee()
Deprecated. -
Uses of Guarantee in io.fluxcapacitor.common.api.publishing
Methods in io.fluxcapacitor.common.api.publishing that return Guarantee -
Uses of Guarantee in io.fluxcapacitor.javaclient
Methods in io.fluxcapacitor.javaclient with parameters of type GuaranteeModifier and TypeMethodDescriptionstatic void
FluxCapacitor.sendAndForgetCommand
(Object payload, Metadata metadata, Guarantee guarantee) Sends a command with given payload and metadata and don't wait for a result. -
Uses of Guarantee in io.fluxcapacitor.javaclient.persisting.eventsourcing.client
Methods in io.fluxcapacitor.javaclient.persisting.eventsourcing.client with parameters of type GuaranteeModifier and TypeMethodDescriptionEventStoreClient.deleteEvents
(String aggregateId, Guarantee guarantee) Deletes all events for a specific aggregate with a given delivery guarantee.InMemoryEventStore.deleteEvents
(String aggregateId, Guarantee guarantee) WebSocketEventStoreClient.deleteEvents
(String aggregateId, Guarantee guarantee) Sends a delete command for the event stream of the specified aggregate.EventStoreClient.storeEvents
(String aggregateId, List<SerializedMessage> events, boolean storeOnly, Guarantee guarantee) Stores events for a given aggregate with an explicit guarantee.InMemoryEventStore.storeEvents
(String aggregateId, List<SerializedMessage> events, boolean storeOnly, Guarantee guarantee) WebSocketEventStoreClient.storeEvents
(String aggregateId, List<SerializedMessage> events, boolean storeOnly, Guarantee guarantee) Stores events for a specific aggregate, with control over store-only mode and delivery guarantee. -
Uses of Guarantee in io.fluxcapacitor.javaclient.persisting.keyvalue
Methods in io.fluxcapacitor.javaclient.persisting.keyvalue with parameters of type Guarantee -
Uses of Guarantee in io.fluxcapacitor.javaclient.persisting.keyvalue.client
Methods in io.fluxcapacitor.javaclient.persisting.keyvalue.client with parameters of type GuaranteeModifier and TypeMethodDescriptionInMemoryKeyValueStore.deleteValue
(String key, Guarantee guarantee) KeyValueClient.deleteValue
(String key, Guarantee guarantee) Deletes the value associated with the given key.WebsocketKeyValueClient.deleteValue
(String key, Guarantee guarantee) Adds or replaces the given value in the key value store. -
Uses of Guarantee in io.fluxcapacitor.javaclient.persisting.search
Methods in io.fluxcapacitor.javaclient.persisting.search with parameters of type GuaranteeModifier and TypeMethodDescriptionDefaultDocumentStore.bulkUpdate
(Collection<? extends BulkUpdate> updates, Guarantee guarantee) DocumentStore.bulkUpdate
(Collection<? extends BulkUpdate> updates, Guarantee guarantee) Applies a batch of document updates, using givenGuarantee
.DefaultDocumentStore.index
(@NonNull Object object, Object id, Object collection, Instant begin, Instant end, Metadata metadata, Guarantee guarantee, boolean ifNotExists) DefaultDocumentStore.index
(Collection<?> objects, Object collection, String idPath, String beginPath, String endPath, Guarantee guarantee, boolean ifNotExists) <T> CompletableFuture
<Void> DefaultDocumentStore.index
(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction, Function<? super T, Instant> beginFunction, Function<? super T, Instant> endFunction, Guarantee guarantee, boolean ifNotExists) DocumentStore.index
(@NotNull Object object, Object id, Object collection, Instant begin, Instant end, Metadata metadata, Guarantee guarantee, boolean ifNotExists) Indexes a document with the specified guarantees, metadata, and if-not-exists condition.default CompletableFuture
<Void> DocumentStore.index
(@NotNull Object object, Object id, Object collection, Instant begin, Instant end, Guarantee guarantee, boolean ifNotExists) Indexes a document with the specified guarantees, metadata, and if-not-exists condition.DocumentStore.index
(Collection<?> objects, Object collection, String idPath, String beginPath, String endPath, Guarantee guarantee, boolean ifNotExists) Indexes a collection of objects using functional accessors for ID and time intervals.<T> CompletableFuture
<Void> DocumentStore.index
(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction, Function<? super T, Instant> beginFunction, Function<? super T, Instant> endFunction, Guarantee guarantee, boolean ifNotExists) Indexes a collection of objects using functional accessors for ID and time intervals.Executes the indexing operation with the provided guarantee.default void
IndexOperation.indexAndWait
(Guarantee guarantee) Executes the indexing operation with the specified guarantee and blocks until it is completed. -
Uses of Guarantee in io.fluxcapacitor.javaclient.persisting.search.client
Methods in io.fluxcapacitor.javaclient.persisting.search.client with parameters of type GuaranteeModifier and TypeMethodDescriptionInMemorySearchStore.bulkUpdate
(Collection<DocumentUpdate> updates, Guarantee guarantee) SearchClient.bulkUpdate
(Collection<DocumentUpdate> updates, Guarantee guarantee) Performs a batch update on a set of documents.WebSocketSearchClient.bulkUpdate
(Collection<DocumentUpdate> batch, Guarantee guarantee) InMemorySearchStore.delete
(SearchQuery query, Guarantee guarantee) SearchClient.delete
(SearchQuery query, Guarantee guarantee) Deletes documents matching a given query.Deletes a document by its unique id and collection name.WebSocketSearchClient.delete
(SearchQuery query, Guarantee guarantee) InMemorySearchStore.deleteCollection
(String collection, Guarantee guarantee) SearchClient.deleteCollection
(String collection, Guarantee guarantee) Deletes an entire document collection and all its contents.WebSocketSearchClient.deleteCollection
(String collection, Guarantee guarantee) InMemorySearchStore.index
(List<SerializedDocument> documents, Guarantee guarantee, boolean ifNotExists) SearchClient.index
(List<SerializedDocument> documents, Guarantee guarantee, boolean ifNotExists) Indexes a list of serialized documents into the search engine.WebSocketSearchClient.index
(List<SerializedDocument> documents, Guarantee guarantee, boolean ifNotExists) -
Uses of Guarantee in io.fluxcapacitor.javaclient.publishing
Methods in io.fluxcapacitor.javaclient.publishing with parameters of type GuaranteeModifier and TypeMethodDescriptionPublishes one or more event messages with a specific delivery guarantee.Publishes the givenMessage
to Flux Capacitor and/or local handlers.Publishes a metrics message with the specified metadata and delivery guarantee.Reports an error with the given payload, metadata, and delivery guarantee.DefaultResultGateway.respond
(Object payload, Metadata metadata, String target, Integer requestId, Guarantee guarantee) ResultGateway.respond
(Object payload, Metadata metadata, String target, Integer requestId, Guarantee guarantee) Sends a response with the specified payload, metadata, target, request ID, and delivery guarantee.CommandGateway.sendAndForget
(Guarantee guarantee, Object... messages) Sends multiple commands with a delivery guarantee without waiting for results.void
CommandGateway.sendAndForget
(Object payload, Metadata metadata, Guarantee guarantee) Sends a command with metadata and delivery guarantee, without waiting for a result.DefaultGenericGateway.sendAndForget
(Guarantee guarantee, Message... messages) DefaultWebRequestGateway.sendAndForget
(Guarantee guarantee, WebRequest... requests) GenericGateway.sendAndForget
(Guarantee guarantee, Message... messages) Sends multipleMessage
objects with a guarantee.default CompletableFuture
<Void> GenericGateway.sendAndForget
(Guarantee guarantee, Object... messages) Sends multiple messages asynchronously with a specified delivery guarantee.default CompletableFuture
<Void> GenericGateway.sendAndForget
(Message message, Guarantee guarantee) Sends aMessage
asynchronously with a given guarantee.default void
GenericGateway.sendAndForget
(Object payload, Metadata metadata, Guarantee guarantee) Sends a message with payload, metadata, and delivery guarantee asynchronously.WebRequestGateway.sendAndForget
(Guarantee guarantee, WebRequest... requests) Sends one or more web requests without waiting for a response.DefaultGenericGateway.setRetentionTime
(Duration duration, Guarantee guarantee) GenericGateway.setRetentionTime
(Duration duration, Guarantee guarantee) Set a new retention duration for the underlying gateway's message log. -
Uses of Guarantee in io.fluxcapacitor.javaclient.publishing.client
Methods in io.fluxcapacitor.javaclient.publishing.client with parameters of type GuaranteeModifier and TypeMethodDescriptionGatewayClient.append
(Guarantee guarantee, SerializedMessage... messages) Append the given messages to the gateway, applying the given deliveryGuarantee
.WebsocketGatewayClient.append
(Guarantee guarantee, SerializedMessage... messages) GatewayClient.setRetentionTime
(Duration duration, Guarantee guarantee) Set a new retention duration for the underlying gateway's message log.WebsocketGatewayClient.setRetentionTime
(Duration duration, Guarantee guarantee) -
Uses of Guarantee in io.fluxcapacitor.javaclient.scheduling
Methods in io.fluxcapacitor.javaclient.scheduling with parameters of type GuaranteeModifier and TypeMethodDescriptionSchedule the givenSchedule
object, optionally skipping if already present, using the specified guarantee.DefaultMessageScheduler.scheduleCommand
(Schedule schedule, boolean ifAbsent, Guarantee guarantee) MessageScheduler.scheduleCommand
(Schedule message, boolean ifAbsent, Guarantee guarantee) Schedule a command using the given scheduling settings, using the providedGuarantee
. -
Uses of Guarantee in io.fluxcapacitor.javaclient.scheduling.client
Methods in io.fluxcapacitor.javaclient.scheduling.client with parameters of type GuaranteeModifier and TypeMethodDescriptionInMemoryScheduleStore.cancelSchedule
(String scheduleId, Guarantee guarantee) SchedulingClient.cancelSchedule
(String scheduleId, Guarantee guarantee) Cancel a scheduled message using the provided delivery guarantee.WebsocketSchedulingClient.cancelSchedule
(String scheduleId, Guarantee guarantee) InMemoryScheduleStore.schedule
(Guarantee guarantee, SerializedSchedule... schedules) SchedulingClient.schedule
(Guarantee guarantee, SerializedSchedule... schedules) Schedule one or more serialized schedules with a specifiedGuarantee
.WebsocketSchedulingClient.schedule
(Guarantee guarantee, SerializedSchedule... schedules) -
Uses of Guarantee in io.fluxcapacitor.javaclient.tracking.client
Methods in io.fluxcapacitor.javaclient.tracking.client with parameters of type GuaranteeModifier and TypeMethodDescriptionLocalTrackingClient.append
(Guarantee guarantee, SerializedMessage... messages) CachingTrackingClient.disconnectTracker
(String consumer, String trackerId, boolean sendFinalEmptyBatch, Guarantee guarantee) LocalTrackingClient.disconnectTracker
(String consumer, String trackerId, boolean sendFinalEmptyBatch, Guarantee guarantee) TrackingClient.disconnectTracker
(String consumer, String trackerId, boolean sendFinalEmptyBatch, Guarantee guarantee) Disconnects the specified tracker from its segment with the specified delivery guarantee.WebsocketTrackingClient.disconnectTracker
(String consumer, String trackerId, boolean sendFinalEmptyBatch, Guarantee guarantee) CachingTrackingClient.resetPosition
(String consumer, long lastIndex, Guarantee guarantee) LocalTrackingClient.resetPosition
(String consumer, long lastIndex, Guarantee guarantee) TrackingClient.resetPosition
(String consumer, long lastIndex, Guarantee guarantee) Resets the consumer's tracking position to a given index with a specific delivery guarantee.WebsocketTrackingClient.resetPosition
(String consumer, long lastIndex, Guarantee guarantee) LocalTrackingClient.setRetentionTime
(Duration duration, Guarantee guarantee) CachingTrackingClient.storePosition
(String consumer, int[] segment, long lastIndex, Guarantee guarantee) LocalTrackingClient.storePosition
(String consumer, int[] segment, long lastIndex, Guarantee guarantee) TrackingClient.storePosition
(String consumer, int[] segment, long lastIndex, Guarantee guarantee) Stores the last successfully processed position for a consumer with a specific delivery guarantee.WebsocketTrackingClient.storePosition
(String consumer, int[] segment, long lastIndex, Guarantee guarantee) -
Uses of Guarantee in io.fluxcapacitor.javaclient.web
Methods in io.fluxcapacitor.javaclient.web with parameters of type GuaranteeModifier and TypeMethodDescriptionCloses the WebSocket session with the specified close reason and delivery guarantee.default CompletableFuture
<Void> Closes the WebSocket session with the specified guarantee for handling pending operations.WebResponseGateway.respond
(Object payload, Metadata metadata, String target, Integer requestId, Guarantee guarantee) DefaultSocketSession.sendMessage
(Object value, Guarantee guarantee) SocketSession.sendMessage
(Object value, Guarantee guarantee) Sends a message over the WebSocket session with the specified delivery guarantee.Sends a ping message with the specified value to the WebSocket session. -
Uses of Guarantee in io.fluxcapacitor.testserver.scheduling
Methods in io.fluxcapacitor.testserver.scheduling with parameters of type GuaranteeModifier and TypeMethodDescriptionTestServerScheduleStore.schedule
(Guarantee guarantee, SerializedSchedule... schedules)