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

net.anotheria.anoprise.inmemorymirror.InMemorySupport Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 4.0.0
Show newest version
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