Package-level declarations
Types
Link copied to clipboard
class AggregateEventStoreInMemory<EVENT : Any, EVENT_PERSISTED : Any>(eventTypes: EventTypeNames.ForAggregate<EVENT>, codec: Codec<EVENT, EVENT_PERSISTED>, val storage: InMemoryEventStorage = InMemoryEventStorage()) : AggregateEventStore<EVENT>
Link copied to clipboard
class AggregateEventSubscriptionSourceInMemory<EVENT : Any, EVENT_PERSISTED : Any>(eventTypes: EventTypeNames.ForAggregate<EVENT>, codec: Codec<EVENT, EVENT_PERSISTED>, storage: InMemoryEventStorage, subscriptionConfig: InMemorySubscriptionConfig = InMemorySubscriptionConfig()) : AggregateEventSubscriptionSource<EVENT, CheckpointLong>
Link copied to clipboard
class CheckpointStoreInMemory<CHECKPOINT : Checkpoint>(serializer: CheckpointSerializer<CHECKPOINT>, val storage: InMemoryCheckpointStorage = InMemoryCheckpointStorage()) : CheckpointStore<CHECKPOINT>
Link copied to clipboard
class GlobalEventSubscriptionSourceInMemory<EVENT : Any, EVENT_PERSISTED : Any>(storage: InMemoryEventStorage, globalTypes: EventTypeNames.Global<EVENT>, codec: Codec<EVENT, EVENT_PERSISTED>, subscriptionConfig: InMemorySubscriptionConfig = InMemorySubscriptionConfig()) : GlobalEventSubscriptionSource<EVENT, CheckpointLong>
Link copied to clipboard
Link copied to clipboard
class InMemoryEventStorage
Link copied to clipboard
class InMemoryProvider(eventStorage: InMemoryEventStorage = InMemoryEventStorage(), snapshotStorage: InMemorySnapshotStorage = InMemorySnapshotStorage(), checkpointStorage: InMemoryCheckpointStorage = InMemoryCheckpointStorage(), checkpointSerializer: CheckpointSerializer<CheckpointLong> = CheckpointLongSerializer(), subscriptionConfig: InMemorySubscriptionConfig = InMemorySubscriptionConfig()) : BackendProvider<CheckpointLong>
Link copied to clipboard
class InMemorySnapshotStorage
Link copied to clipboard
data class InMemorySubscriptionConfig(val pollInterval: Duration = 5.milliseconds, val options: SubscriptionOptions = SubscriptionOptions())
Polling and stream options for in-memory event subscriptions.
Link copied to clipboard
class SnapshotStoreInMemory<STATE : AggregateState, STATE_PERSISTED : Any>(aggregateType: String, stateSchema: AggregateStateSchema<STATE, STATE_PERSISTED>, val storage: InMemorySnapshotStorage = InMemorySnapshotStorage()) : SnapshotStore<STATE>