Lines Matching +defs:env +defs:close
83 private Environment env;
103 public Store(Environment env,
109 this.env = env;
113 if (env == null || storeName == null) {
115 ("env and storeName parameters must not be null");
127 locking = DbCompat.getInitializeLocking(env.getConfig());
150 (null, env, storePrefix, storePrefix + CATALOG_DB, dbConfig,
155 Map<String,PersistCatalog> catalogMap = catalogPool.get(env);
158 catalogPool.put(env, catalogMap);
166 DbCompat.getThreadTransaction(env) == null) {
167 txn = env.beginTransaction(null, null);
178 (txn, env, storePrefix, storePrefix + CATALOG_DB,
248 return env;
333 DbCompat.getThreadTransaction(env) == null) {
334 txn = env.beginTransaction(null, null);
347 (env, txn, fileAndDbNames[0], fileAndDbNames[1],
404 * opening the primary and secondaries aborts. Also used to close all
443 db.close();
684 (env, txn, fileAndDbNames[0], fileAndDbNames[1], priDb,
764 (env, txn, fileAndDbNames[0], fileAndDbNames[1],
810 public synchronized void close()
817 boolean allClosed = catalog.close();
822 catalogPool.get(env);
824 if (catalog.close()) {
869 (env, null/*txn*/, fileAndDbNames[0],
1170 db.close();
1241 txn = env.beginTransaction(null, null);
1265 cursor.close();
1269 txn = env.beginTransaction(null, null);
1283 cursor.close();