This repository has been archived on 2024-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
species-products-discovery/src/main/java/org/gcube/data/spd/caching/QueryCacheFactory.java

16 lines
312 B
Java
Raw Normal View History

package org.gcube.data.spd.caching;
public class QueryCacheFactory<T> {
String persistencePath;
public QueryCacheFactory(String persistencePath){
this.persistencePath = persistencePath;
}
public QueryCache<T> create(String pluginName){
return new QueryCache<T>(pluginName, persistencePath);
}
}