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

nl.renarj.jasdb.service.StorageServiceFactory Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version
package nl.renarj.jasdb.service;

import nl.renarj.jasdb.core.exceptions.JasDBStorageException;

/**
 * Main factory interface for creating storage services that allow operations on bag data
 * inside an instance.
 */
public interface StorageServiceFactory {
    StorageService getStorageService(String instanceId, String bagName) throws JasDBStorageException;

	StorageService getOrCreateStorageService(String instanceId, String bagName) throws JasDBStorageException;

    void removeStorageService(String instanceId, String bagName) throws JasDBStorageException;

    void removeAllStorageService(String instanceId) throws JasDBStorageException;
	
	void shutdownServiceFactory() throws JasDBStorageException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy