Package com.netscape.cmscore.dbs
Class KeyRecordList
java.lang.Object
com.netscape.cmscore.dbs.KeyRecordList
- All Implemented Interfaces:
IKeyRecordList
A class represents a list of key records.
- Version:
- $Revision$, $Date$
- Author:
- thomask
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKeyRecord
(int i) getKeyRecords
(int startidx, int endidx) Retrieves requests.int
getSize()
Retrieves the size of key list.int
int
-
Constructor Details
-
KeyRecordList
Constructs a key list.
-
-
Method Details
-
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
-
getKeyRecords
Retrieves requests.- Specified by:
getKeyRecords
in interfaceIKeyRecordList
- Parameters:
startidx
- start indexendidx
- end index- Returns:
- key records
- Throws:
EBaseException
- failed to retrieve key records
-