public static void close(Repository db) { if (db == null) throw new System.ArgumentNullException ("db"); Cache.unregisterRepository(FileKey.exact(db.Directory)); }
public static void register(Repository db) { if (db == null) { throw new System.ArgumentNullException("db"); } Cache.registerRepository(FileKey.exact(db.Directory), db); }
public static void close(Repository db) { Cache.unregisterRepository(FileKey.exact(db.Directory)); }
public static void register(Repository db) { Cache.registerRepository(FileKey.exact(db.Directory), db); }