Lines Matching +defs:env +defs:close
39 private Environment env;
58 Environment env = new Environment(new File(dir), envConfig);
61 HelloDatabaseWorld worker = new HelloDatabaseWorld(env);
62 TransactionRunner runner = new TransactionRunner(env);
67 // close the database outside the transaction
68 worker.close();
73 private HelloDatabaseWorld(Environment env)
76 this.env = env;
100 Database catalogDb = env.openDatabase(null, "catalog", null, dbConfig);
110 this.db = env.openDatabase(null, "helloworld", null, dbConfig);
117 private void close()
121 catalog.close();
125 db.close();
128 if (env != null) {
129 env.close();
130 env = null;