The getCacheSize and setCacheSize methods of the Recordset class indicate how many records to retrieve at one time into local memory, or control how many records the provider keeps in its buffer, respectively.
public int getCacheSize();
public void setCacheSize(int size);
Sets or returns a value that must be greater than 0. Default is 1.
size | An integer that sets the number of records for the provider to keep in its buffer. |