private int reqFirstRow = 0;
private int reqRows = 0;
- private boolean isRunning = false;
+ private boolean isRequestHandlerRunning = false;
public void triggerRowFetch(int first, int rows) {
setReqFirstRow(first);
deferRowFetch(250);
}
- public boolean isRunning() {
- return isRunning;
+ public boolean isRequestHandlerRunning() {
+ return isRequestHandlerRunning;
}
public void deferRowFetch(int msec) {
- isRunning = true;
+ isRequestHandlerRunning = true;
if (reqRows > 0 && reqFirstRow < totalRows) {
schedule(msec);
unSyncedselectionsBeforeRowFetch = new HashSet<Object>(
selectedRowKeys);
}
- isRunning = false;
+ isRequestHandlerRunning = false;
}
}
* Sends request to refresh content at this position.
*/
public void refreshContent() {
- isRunning = true;
+ isRequestHandlerRunning = true;
int first = (int) (firstRowInViewPort - pageLength * cache_rate);
int reqRows = (int) (2 * pageLength * cache_rate + pageLength);
if (first < 0) {