Open SiteSearch 4.1.1
Final

ORG.oclc.webz
Class CacheData

java.lang.Object
  |
  +--ORG.oclc.webz.CacheData

public class CacheData
extends Object

The CacheData class is one of the baseline JaSSI classes for implementing caching of result sets in JaSSI.


Field Summary
 String format
           
 int numrecs
           
 Vector recs
           
 int resultSetEndPoint
           
 String resultSetName
           
 int resultSetStartRecno
           
 String syntax
           
 
Constructor Summary
CacheData()
           
 
Method Summary
 boolean contains(String resultSetName, int recno, int numrecs, String format, String syntax)
          Determine if this object contains the necessary data for the request.
 String toString()
          Generates a String representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

resultSetStartRecno

public int resultSetStartRecno

numrecs

public int numrecs

resultSetEndPoint

public int resultSetEndPoint

resultSetName

public String resultSetName

format

public String format

syntax

public String syntax

recs

public Vector recs
Constructor Detail

CacheData

public CacheData()
Method Detail

toString

public String toString()
Generates a String representation of the object.
Returns:
String
Overrides:
toString in class Object

contains

public boolean contains(String resultSetName,
                        int recno,
                        int numrecs,
                        String format,
                        String syntax)
Determine if this object contains the necessary data for the request.
Parameters:
resultSetName - The desired result set name
recno - The desired start record number
numrecs - The desired number of records
format - The desired record format
syntax - The desired record syntax
Returns:
boolean

Open SiteSearch 4.1.1
Final