net.anotheria.anoprise.inmemorymirror.InMemorySupport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ano-prise Show documentation
Show all versions of ano-prise Show documentation
Collection of utils for different enterprise class projects. Among other stuff contains
Caches, Mocking, DualCrud, MetaFactory and SessionDistributorService. Visit https://opensource.anotheria.net for details.
package net.anotheria.anoprise.inmemorymirror;
import java.util.Collection;
/**
* This support interface backs the InMemoryMirror instance and provides crud operations on the underlying data set.
* @author lrosenberg
*
* @param
* @param
*/
public interface InMemorySupport> {
Collection readAll() throws InMemoryMirrorException;
V create(V element) throws InMemoryMirrorException;
V update(V element) throws InMemoryMirrorException, ElementNotFoundException;
V remove (K key) throws InMemoryMirrorException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy