Lines Matching defs:db
9 package db.repquote;
18 import com.sleepycat.db.*;
19 import db.repquote.RepConfig;
49 * java db.repquote.RepQuoteExample -M -h dir1 -m localhost:6000
55 * java db.repquote.RepQuoteExample -C -h dir2
57 * java db.repquote.RepQuoteExample -C -h dir3
59 * java db.repquote.RepQuoteExample -C -h dir4
258 Database db = null;
262 if (db == null) {
273 db = dbenv.openDatabase
277 if (db != null) {
278 db.close(true);
279 db = null;
310 printStocks(db);
316 System.err.println("Got db exception reading replication" +
320 db.close(true); // close no sync.
321 db = null;
344 db.put(null, key, data);
346 if (db != null)
347 db.close(true);
372 private void printStocks(Database db)
375 Cursor dbc = db.openCursor(null, null);