public interface RowCountCallback
Modifier and Type | Method and Description |
---|---|
void |
execute(ResultSet resultSet,
DSResponse dsResponse,
boolean invalidated)
Callback fired when ResultSet.fetchRowCount() completes
|
void execute(ResultSet resultSet, DSResponse dsResponse, boolean invalidated)
resultSet
- the ResultSet
resultSet that issued the row-count fetch request.dsResponse
- the DSResponse
from the fetch request. May be null if the row count fetch was
invalidated before the server respondedinvalidated
- boolean indicating whether the rowCountFetch request was invalidated. This parameter will be true if, after the row
count fetch request was issued, the criteria were changed, the cache was invalidated or the rowCount status has
changed since the fetch was initiated. Calling ResultSet.fetchRowCount()
before a row count fetch has completed will also invalidate the previous row count fetch.
In any of these cases the row count will not be updated by this fetch operation.