Home
last modified time | relevance | path

Searched refs:exampleDb (Results 1 – 11 of 11) sorted by relevance

/dports/java/berkeley-db/je-6.2.31/test/com/sleepycat/je/
H A DEnvironmentTest.java815 exampleDb.close(); in testDbRename()
837 exampleDb.close(); in testDbRename()
873 exampleDb.close(); in testDbRenameCommit()
880 exampleDb.close(); in testDbRenameCommit()
931 exampleDb.close(); in testDbRenameAbort()
945 exampleDb.close(); in testDbRenameAbort()
1056 exampleDb.close(); in doDbRemove()
1107 exampleDb.close(); in testDbRemoveCommit()
1168 exampleDb.close(); in testDbRemoveAbort()
1196 exampleDb.close(); in testDbRemoveAbort()
[all …]
/dports/java/berkeley-db/je-6.2.31/test/com/sleepycat/je/util/
H A DMiniPerf.java27 private Database exampleDb; field in MiniPerf
70 exampleDb = exampleEnv.openDatabase(null, databaseName, dbConfig); in setUp()
73 cursor = exampleDb.openCursor(null, null); in setUp()
81 if (exampleDb != null) { in tearDown()
82 exampleDb.close(); in tearDown()
83 exampleDb = null; in tearDown()
/dports/java/berkeley-db/je-6.2.31/test/com/sleepycat/je/dbi/
H A DDbCursorDuplicateDeleteTest.java103 exampleDb.putNoDupData(null, key, val1); in testCountAfterDelete()
106 status = exampleDb.putNoDupData(null, key, val2); in testCountAfterDelete()
110 Cursor c = exampleDb.openCursor(null, null); in testCountAfterDelete()
131 status = exampleDb.putNoDupData(null, key, val1); in testCountAfterDelete()
135 c = exampleDb.openCursor(null, null); in testCountAfterDelete()
617 Cursor c = exampleDb.openCursor(txn, null); in testDeletedReplaySR8984()
626 c = exampleDb.openCursor(txn, null); in testDeletedReplaySR8984()
641 Cursor c = exampleDb.openCursor(txn, null); in testDuplicateDeadlockSR9885()
732 Cursor c = exampleDb.openCursor(txn, null); in testSR9992()
753 Cursor c = exampleDb.openCursor(txn, null); in testSR9900()
[all …]
H A DDbCursorTestBase.java56 protected Database exampleDb; field in DbCursorTestBase
131 exampleDb = exampleEnv.openDatabase(null, databaseName, dbConfig); in initEnvInternal()
134 cursor = exampleDb.openCursor(null, null); in initEnvInternal()
135 cursor2 = exampleDb.openCursor(null, null); in initEnvInternal()
162 if (exampleDb != null) { in closeEnv()
163 exampleDb.close(); in closeEnv()
164 exampleDb = null; in closeEnv()
643 Tree tree = DbInternal.getDatabaseImpl(exampleDb).getTree(); in verifyEntries()
657 DatabaseImpl dbImpl = DbInternal.getDatabaseImpl(exampleDb); in validateDatabase()
H A DDbCursorDuplicateTest.java187 Cursor c = exampleDb.openCursor(txn, null); in testAbortDuplicateTreeCreation()
195 c = exampleDb.openCursor(txn, null); in testAbortDuplicateTreeCreation()
203 c = exampleDb.openCursor(txn, null); in testAbortDuplicateTreeCreation()
323 (exampleDb.getConfig().getBtreeComparator()); in testDuplicateDuplicatesWithComparators()
327 (exampleDb.getConfig().getDuplicateComparator()); in testDuplicateDuplicatesWithComparators()
H A DDbCursorTest.java1434 Cursor cursor = exampleDb.openCursor(null, null); in testTwiceClosedCursor()
1482 Cursor cursor = exampleDb.openCursor(null, null); in treeSplittingWithDeletedIdKeyWorker()
1490 exampleDb.delete(null, new StringDbt("AGPFX")); in treeSplittingWithDeletedIdKeyWorker()
1492 cursor = exampleDb.openCursor(null, null); in treeSplittingWithDeletedIdKeyWorker()
/dports/java/berkeley-db/je-6.2.31/test/com/sleepycat/je/cleaner/
H A DCleanerTest.java79 private Database exampleDb; field in CleanerTest
147 exampleDb = null; in tearDown()
153 if (exampleDb != null) { in closeEnv()
154 exampleDb.close(); in closeEnv()
155 exampleDb = null; in closeEnv()
697 exampleDb.put(txn, in doLargePut()
1090 exampleDb.put(null, key, data); in testTrackerMemoryBudget()
1099 exampleDb.put(null, key, data); in testTrackerMemoryBudget()
1110 exampleDb.delete(null, key); in testTrackerMemoryBudget()
1345 exampleDb.close();
[all …]
/dports/java/berkeley-db/je-6.2.31/examples/je/
H A DSimpleExample.java135 Database exampleDb = exampleEnv.openDatabase(txn, in run() local
165 exampleDb.put(txn, keyEntry, dataEntry); in run()
184 Cursor cursor = exampleDb.openCursor(null, null); in run()
197 exampleDb.close(); in run()
H A DBindingExample.java129 Database exampleDb = exampleEnv.openDatabase(txn, in run() local
184 exampleDb.put(txn, keyEntry, dataEntry); in run()
203 Cursor cursor = exampleDb.openCursor(null, null); in run()
217 exampleDb.close(); in run()
H A DSecondaryExample.java133 Database exampleDb = in run() local
182 exampleDb, secConfig); in run()
209 exampleDb.put(txn, keyEntry, dataEntry); in run()
256 exampleDb.close(); in run()
/dports/java/berkeley-db/je-6.2.31/test/com/sleepycat/je/log/
H A DFileManagerTest.java573 Database exampleDb = in testFlipFile() local
585 exampleDb.put(null, key, data); in testFlipFile()
588 exampleDb.close(); in testFlipFile()