Package 

Interface Repository

  • All Implemented Interfaces:

    
    public interface Repository
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract <T extends AggregateRoot> CompletableFuture<T> getAsync(Class<T> aggregateRootType, Object aggregateRootId) Get an aggregate from memory cache, if not exist, get it from event store.
      abstract CompletableFuture<AggregateRoot> getAsync(Object aggregateRootId) Get an aggregate from memory cache, if not exist, get it from event store.
      abstract <T extends AggregateRoot> void refreshAggregate(T aggregateRoot) Refresh memory cache with given aggregate.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait