| Package | Description |
|---|---|
| io.serialized.client.aggregate |
| Modifier and Type | Field and Description |
|---|---|
List<Event<?>> |
AggregateRequest.events |
| Modifier and Type | Method and Description |
|---|---|
Event<T> |
Event.TypedBuilder.build() |
Event |
Event.RawBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
List<Event<?>> |
Command.apply(A aggregate) |
List<Event<?>> |
AggregateUpdate.apply(T state) |
List<Event<?>> |
EventBatch.events() |
| Modifier and Type | Method and Description |
|---|---|
T |
EventHandler.handle(T state,
Event<E> e) |
AggregateRequest.Builder |
AggregateRequest.Builder.withEvent(Event event) |
| Modifier and Type | Method and Description |
|---|---|
T |
StateBuilder.buildState(List<? extends Event> events) |
T |
StateBuilder.buildState(T currentState,
List<? extends Event> events) |
AggregateRequest.Builder |
AggregateRequest.Builder.withEvents(List<Event<?>> events) |
| Constructor and Description |
|---|
EventBatch(List<Event<?>> events,
Long expectedVersion) |
Copyright © 2021. All rights reserved.