Interface CleanFilter

  • All Known Implementing Classes:
    CustomCleanFilter, JcmsCleanFilter

    public interface CleanFilter
    This interface must be implemented to define cleaning rules.
    Since:
    jcms-5.5.0
    Author:
    Olivier Dedieu
    • Method Detail

      • isCleanable

        boolean isCleanable​(StorableLogEntry entry,
                            java.lang.Class<?> clazz)
        Returns true if the entry can be cleaned or false otherwise.
        Parameters:
        entry - the entry to be checked
        clazz - the class of which this entry is applied
        Returns:
        true if the entry can be cleaned or false otherwise
        Since:
        jcms-5.5.0
      • isCleanable

        boolean isCleanable​(InnerLogEntry entry)
        Returns true if the entry can be cleaned or false otherwise.
        Parameters:
        entry - the entry to be checked
        Returns:
        true if the entry can be cleaned or false otherwise
        Since:
        jcms-5.5.0
      • cleanMergeMap

        void cleanMergeMap​(java.util.Map<java.lang.String,​java.util.TreeSet<Stamp>> mergeMap)
        This method is called to clean the merge map.
        Parameters:
        mergeMap - the merge map
        Since:
        jcms-5.5.0