de.esprit.appsuite.database.dbase

## Interface DBLoadMonitor<R extends DBRecord>

- All Known Implementing Classes:
    AbstractDBLoadMonitor, AbstractDBOCollector, CollectingDBLoadMonitor, DBLoadTask, DBODatabaseCollector, DBORecordCollector

      public interface DBLoadMonitor<R extends DBRecord>

  This interface defines a load monitor which is notified about each record loaded from the database
  Author:
    Rainer Buesch

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `cancel()` Cancels the load
    `boolean` | `loadedRecord(R record)` Is called each time a record was fetched from the underlying ResultSet
    `boolean` | `wasCancelled()` Tells whether this load has been cancelled

- - ### Method Detail

    - #### loadedRecord

          boolean loadedRecord(R record)

      Is called each time a record was fetched from the underlying ResultSet
      Parameters:
        `record` - The record just fetched from the ResultSet
      Returns:
        true if the record could be processed successfully

    - #### wasCancelled

          boolean wasCancelled()

      Tells whether this load has been cancelled

    - #### cancel

          void cancel()

      Cancels the load

Copyright © 2014 EsprIT-Systems. All Rights Reserved.