Package nzilbb.labbcat.server.db
Interface StoreCache
-
- All Superinterfaces:
Consumer<SqlGraphStore>
,Supplier<SqlGraphStore>
public interface StoreCache extends Supplier<SqlGraphStore>, Consumer<SqlGraphStore>
Cache for Graph Stores, which supplies anSqlGraphStore
object for use, and then accepts it back again for reuse later.This ensures that resources are shared or closed as appropriate.
- Author:
- Robert Fromont robert@fromont.net.nz