public interface LogScanner
Modifier and Type | Method and Description |
---|---|
boolean |
scanRecord(DatabaseEntry key,
DatabaseEntry data,
boolean deleted,
java.lang.String databaseName)
Called for each record scanned.
|
boolean scanRecord(DatabaseEntry key, DatabaseEntry data, boolean deleted, java.lang.String databaseName)
key
- is the key entry of the record scanned. This parameter will
not be null.data
- is the data entry of the record scanned. This parameter may
be null for deleted records.deleted
- is true if the given record is deleted at this point in
the log. Note that it may also appear earlier or later in the log.databaseName
- the name of the database in which the record
appears. Note that if the database was renamed, this is the last known
name of the database at the time scanLog is called.