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:
PartedTrimLogger, TrimLoggerComposite

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) throws org.refcodes.criteria.CriteriaException.BadCriteriaException
      Deletes logged Record instances according to the provided Criteria.
      Parameters:
      aCriteria - The Criteria to be applied when deleting previously logged Record instances.
      Throws:
      org.refcodes.criteria.CriteriaException.BadCriteriaException - thrown in case of problems related to some Criteria.