Class EventSourcingRepository.EventSourcedAggregate<T>
- java.lang.Object
-
- io.fluxcapacitor.javaclient.persisting.eventsourcing.EventSourcingRepository.EventSourcedAggregate<T>
-
- All Implemented Interfaces:
Aggregate<T>
- Enclosing class:
- EventSourcingRepository
protected class EventSourcingRepository.EventSourcedAggregate<T> extends Object implements Aggregate<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.fluxcapacitor.javaclient.modeling.Aggregate
Aggregate.Validator<T,E extends Exception>
-
-
Field Summary
-
Fields inherited from interface io.fluxcapacitor.javaclient.modeling.Aggregate
AGGREGATE_ID_METADATA_KEY, AGGREGATE_TYPE_METADATA_KEY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEventSourcedAggregate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregate<T>apply(Message eventMessage)protected Awaitablecommit()Tget()Class<?>getAggregateType()protected voidinitialize()StringlastEventId()Instanttimestamp()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fluxcapacitor.javaclient.modeling.Aggregate
apply, apply, apply, assertLegal, assertThat, ensure
-
-