Interface RowCountCallback


public interface RowCountCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(ResultSet resultSet, DSResponse dsResponse, boolean invalidated)
    Callback fired when ResultSet.fetchRowCount() completes
  • Method Details

    • execute

      void execute(ResultSet resultSet, DSResponse dsResponse, boolean invalidated)
      Callback fired when ResultSet.fetchRowCount() completes
      Parameters:
      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 responded
      invalidated - 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.