Uses of Enum Class
io.fluxzero.sdk.modeling.EventPublicationStrategy
Packages that use EventPublicationStrategy
-
Uses of EventPublicationStrategy in io.fluxzero.sdk.modeling
Subclasses with type arguments of type EventPublicationStrategy in io.fluxzero.sdk.modelingModifier and TypeClassDescriptionenumStrategy for controlling how applied updates (typically from@Applymethods) are handled in terms of event storage, event publication, and model or aggregate state updates.Methods in io.fluxzero.sdk.modeling that return EventPublicationStrategyModifier and TypeMethodDescriptionEntityMetadata.TransitionSettings.eventStrategy()Returns the value of theeventStrategyrecord component.EntityMetadata.RootConfiguration.publicationStrategy()Returns the value of thepublicationStrategyrecord component.EntityMetadata.TransitionSettings.strategy()Returns the value of thestrategyrecord component.static EventPublicationStrategyReturns the enum constant of this class with the specified name.static EventPublicationStrategy[]EventPublicationStrategy.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.fluxzero.sdk.modeling with parameters of type EventPublicationStrategyModifier and TypeMethodDescriptionstatic <T> Entity<T> ModifiableAggregateRoot.load(@NonNull AggregateRepository repository, Object aggregateId, Supplier<Entity<T>> loader, AggregateCommitPolicy commitPolicy, EventPublication eventPublication, EventPublicationStrategy publicationStrategy, AggregateEventRouting eventRouting, boolean eventSourced, EntityHelper entityHelper, Serializer serializer, DispatchInterceptor dispatchInterceptor, ModifiableAggregateRoot.CommitHandler commitHandler) Loads an aggregate in a scope owned by the supplied repository.static <T> Entity<T> ModifiableAggregateRoot.load(Object aggregateId, Supplier<Entity<T>> loader, AggregateCommitPolicy commitPolicy, EventPublication eventPublication, EventPublicationStrategy publicationStrategy, AggregateEventRouting eventRouting, boolean eventSourced, EntityHelper entityHelper, Serializer serializer, DispatchInterceptor dispatchInterceptor, ModifiableAggregateRoot.CommitHandler commitHandler) Constructors in io.fluxzero.sdk.modeling with parameters of type EventPublicationStrategyModifierConstructorDescriptionprotectedModifiableAggregateRoot(Entity<T> delegate, AggregateCommitPolicy commitPolicy, EventPublication eventPublication, EventPublicationStrategy publicationStrategy, AggregateEventRouting eventRouting, boolean eventSourced, EntityHelper entityHelper, Serializer serializer, DispatchInterceptor dispatchInterceptor, ModifiableAggregateRoot.CommitHandler commitHandler) RootConfiguration(EntityMetadata.RootKind kind, io.fluxzero.common.api.modeling.ModelConflictPolicy conflictPolicy, AutomaticModelHandling automaticHandling, boolean eventSourced, boolean ignoreUnknownEvents, int snapshotPeriod, int maxSnapshotCount, boolean cached, int cachingDepth, int checkpointPeriod, CommitPolicy commitPolicy, EventPublication eventPublication, EventPublicationStrategy publicationStrategy, boolean directDocument, boolean publicDocument, boolean materializeGraph, GraphProjection graphProjection, String collection, String timestampPath, String endPath) Creates an instance of aRootConfigurationrecord class.TransitionSettings(EntityMetadata.RootConfiguration root, EventPublication publication, EventPublicationStrategy eventStrategy, EventPublicationStrategy strategy, io.fluxzero.common.api.modeling.ModelConflictPolicy conflict) Creates an instance of aTransitionSettingsrecord class. -
Uses of EventPublicationStrategy in io.fluxzero.sdk.persisting.eventsourcing
Methods in io.fluxzero.sdk.persisting.eventsourcing with parameters of type EventPublicationStrategyModifier and TypeMethodDescriptionDefaultEventStore.storeEvents(Object aggregateId, List<?> events, EventPublicationStrategy strategy) EventStore.storeEvents(Object aggregateId, List<?> events, EventPublicationStrategy strategy) Stores and/or publishes a list of events for the given aggregate using a specified publication strategy.