All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.enodeframework.domain.IRepository Maven / Gradle / Ivy

There is a newer version: 1.1.10
Show newest version
package org.enodeframework.domain;

import java.util.concurrent.CompletableFuture;

public interface IRepository {
    /**
     * Get an aggregate from memory cache, if not exist, get it from event store.
     */
     CompletableFuture getAsync(Class aggregateRootType, Object aggregateRootId);

    /**
     * Get an aggregate from memory cache, if not exist, get it from event store.
     */
    CompletableFuture getAsync(Object aggregateRootId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy