| Package | Description |
|---|---|
| com.networknt.eventuate.common | |
| com.networknt.eventuate.common.impl |
| Modifier and Type | Method and Description |
|---|---|
EventContext |
DispatchedEvent.getEventContext() |
EventContext |
EventEnvelope.getEventContext()
An opaque token that can used to update aggregates idempotently
|
| Modifier and Type | Method and Description |
|---|---|
Optional<EventContext> |
FindOptions.getTriggeringEvent() |
Optional<EventContext> |
UpdateOptions.getTriggeringEvent() |
Optional<EventContext> |
SaveOptions.getTriggeringEvent() |
| Modifier and Type | Method and Description |
|---|---|
SaveOptions |
SaveOptions.withEventContext(EventContext eventContext) |
FindOptions |
FindOptions.withTriggeringEvent(EventContext eventContext) |
UpdateOptions |
UpdateOptions.withTriggeringEvent(EventContext eventContext) |
| Modifier and Type | Method and Description |
|---|---|
FindOptions |
FindOptions.withTriggeringEvent(Optional<EventContext> eventContext) |
| Constructor and Description |
|---|
DispatchedEvent(String entityId,
Int128 eventId,
T event,
Integer swimlane,
Long offset,
EventContext eventContext,
Optional<Map<String,String>> eventMetadata) |
| Constructor and Description |
|---|
UpdateOptions(Optional<EventContext> triggeringEvent,
Optional<Map<String,String>> eventMetadata,
Optional<Snapshot> snapshot,
Optional<AggregateRepositoryInterceptor> interceptor) |
| Modifier and Type | Method and Description |
|---|---|
EventContext |
SerializedEvent.getEventContext() |
| Modifier and Type | Method and Description |
|---|---|
Optional<EventContext> |
AggregateCrudUpdateOptions.getTriggeringEvent() |
Optional<EventContext> |
AggregateCrudSaveOptions.getTriggeringEvent() |
Optional<EventContext> |
AggregateCrudFindOptions.getTriggeringEvent() |
| Modifier and Type | Method and Description |
|---|---|
AggregateCrudSaveOptions |
AggregateCrudSaveOptions.withEventContext(EventContext ectx) |
AggregateCrudUpdateOptions |
AggregateCrudUpdateOptions.withTriggeringEvent(EventContext eventContext) |
AggregateCrudFindOptions |
AggregateCrudFindOptions.withTriggeringEvent(EventContext eventContext) |
| Modifier and Type | Method and Description |
|---|---|
AggregateCrudFindOptions |
AggregateCrudFindOptions.withTriggeringEvent(Optional<EventContext> eventContext) |
| Constructor and Description |
|---|
SerializedEvent(Int128 id,
String entityId,
String entityType,
String eventData,
String eventType,
Integer swimLane,
Long offset,
EventContext eventContext,
Optional<String> metadata) |
| Constructor and Description |
|---|
AggregateCrudFindOptions(Optional<EventContext> triggeringEvent) |
AggregateCrudSaveOptions(Optional<EventContext> triggeringEvent,
Optional<String> entityId) |
AggregateCrudUpdateOptions(Optional<EventContext> triggeringEvent,
Optional<SerializedSnapshot> snapshot) |
Copyright © 2021. All rights reserved.