Package com.netscape.cmscore.dbs
Class KeyRecordList
- java.lang.Object
-
- com.netscape.cmscore.dbs.KeyRecordList
-
- All Implemented Interfaces:
IKeyRecordList
public class KeyRecordList extends java.lang.Object implements IKeyRecordList
A class represents a list of key records.- Version:
- $Revision$, $Date$
- Author:
- thomask
-
-
Constructor Summary
Constructors Constructor Description KeyRecordList(IDBVirtualList<IKeyRecord> vlist)
Constructs a key list.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IKeyRecord
getKeyRecord(int i)
java.util.Enumeration<IKeyRecord>
getKeyRecords(int startidx, int endidx)
Retrieves requests.int
getSize()
Retrieves the size of key list.int
getSizeAfterJumpTo()
int
getSizeBeforeJumpTo()
-
-
-
Constructor Detail
-
KeyRecordList
public KeyRecordList(IDBVirtualList<IKeyRecord> vlist)
Constructs a key list.
-
-
Method Detail
-
getSize
public int getSize()
Retrieves the size of key list.- Specified by:
getSize
in interfaceIKeyRecordList
- Returns:
- size of key list
-
getSizeBeforeJumpTo
public int getSizeBeforeJumpTo()
-
getSizeAfterJumpTo
public int getSizeAfterJumpTo()
-
getKeyRecord
public IKeyRecord getKeyRecord(int i)
-
getKeyRecords
public java.util.Enumeration<IKeyRecord> getKeyRecords(int startidx, int endidx) throws EBaseException
Retrieves requests.- Specified by:
getKeyRecords
in interfaceIKeyRecordList
- Parameters:
startidx
- start indexendidx
- end index- Returns:
- key records
- Throws:
EBaseException
- failed to retrieve key records
-
-