Interface TrimLogger<T>

Type Parameters:
T - The type of the Record instances managed by the Logger.
All Superinterfaces:
org.refcodes.mixin.Clearable, LogDecorator, Logger<T>, QueryLogger<T>
All Known Implementing Classes:
CompositeTrimLoggerImpl, PartedTrimLoggerImpl

public interface TrimLogger<T>
extends QueryLogger<T>, org.refcodes.mixin.Clearable
The TrimLogger extends the QueryLogger with the functionality to remove Record instances previously being logged by providing the according Criteria.
  • Method Details

    • deleteLogs

      void deleteLogs​(org.refcodes.criteria.Criteria aCriteria)
      Deletes logged Record instances according to the provided Criteria.
      Parameters:
      aCriteria - The Criteria to be applied when deleting previously logged Record instances.