summaryrefslogtreecommitdiff
path: root/java/src/Freeze/MapInternal/IteratorModel.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/Freeze/MapInternal/IteratorModel.java')
-rw-r--r--java/src/Freeze/MapInternal/IteratorModel.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/java/src/Freeze/MapInternal/IteratorModel.java b/java/src/Freeze/MapInternal/IteratorModel.java
new file mode 100644
index 00000000000..8adeea782ac
--- /dev/null
+++ b/java/src/Freeze/MapInternal/IteratorModel.java
@@ -0,0 +1,25 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+package Freeze.MapInternal;
+
+interface IteratorModel<K, V>
+{
+ String dbName();
+ TraceLevels traceLevels();
+
+ com.sleepycat.db.Cursor openCursor()
+ throws com.sleepycat.db.DatabaseException;
+
+ EntryI<K, V> firstEntry(com.sleepycat.db.Cursor cursor)
+ throws com.sleepycat.db.DatabaseException;
+
+ EntryI<K, V> nextEntry(com.sleepycat.db.Cursor cursor)
+ throws com.sleepycat.db.DatabaseException;
+}