Class KeyRecordList

java.lang.Object
com.netscape.cmscore.dbs.KeyRecordList
All Implemented Interfaces:
IKeyRecordList

public class KeyRecordList extends Object implements IKeyRecordList
A class represents a list of key records.

Version:
$Revision$, $Date$
Author:
thomask
  • Constructor Details

  • Method Details

    • getSize

      public int getSize()
      Retrieves the size of key list.
      Specified by:
      getSize in interface IKeyRecordList
      Returns:
      size of key list
    • getSizeBeforeJumpTo

      public int getSizeBeforeJumpTo()
    • getSizeAfterJumpTo

      public int getSizeAfterJumpTo()
    • getKeyRecord

      public IKeyRecord getKeyRecord(int i)
    • getKeyRecords

      public Enumeration<IKeyRecord> getKeyRecords(int startidx, int endidx) throws EBaseException
      Retrieves requests.
      Specified by:
      getKeyRecords in interface IKeyRecordList
      Parameters:
      startidx - start index
      endidx - end index
      Returns:
      key records
      Throws:
      EBaseException - failed to retrieve key records