summaryrefslogtreecommitdiff
path: root/java/src/Freeze/MapInternal/IteratorModel.java
blob: feb60255d6e65db017150b244736d03641cac193 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// **********************************************************************
//
// Copyright (c) 2003-2014 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;
}