Class JcmsCleanFilter

    • Field Detail

      • channel

        protected Channel channel
      • beginTime

        protected long beginTime
      • endTime

        protected long endTime
      • beginStamp

        protected Stamp beginStamp
      • endStamp

        protected Stamp endStamp
      • removeDeleted

        protected boolean removeDeleted
      • mergeMinorUpdate

        protected boolean mergeMinorUpdate
      • mergeMetadataUpdate

        protected boolean mergeMetadataUpdate
      • mergeMajorUpdate

        protected boolean mergeMajorUpdate
      • uridSet

        protected java.util.Set uridSet
      • removeMilestone

        protected boolean removeMilestone
      • wsSet

        protected java.util.Set<Workspace> wsSet
      • wsMap

        protected java.util.Map<java.lang.String,​Workspace> wsMap
      • createSet

        protected java.util.Set<java.lang.String> createSet
      • metadataAttributeSet

        public static final java.util.HashSet metadataAttributeSet
    • Constructor Detail

      • JcmsCleanFilter

        public JcmsCleanFilter()
    • Method Detail

      • isCleanable

        public boolean isCleanable​(StorableLogEntry entry,
                                   java.lang.Class clazz)
        Description copied from interface: CleanFilter
        Returns true if the entry can be cleaned or false otherwise.
        Specified by:
        isCleanable in interface CleanFilter
        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
      • cleanMergeMap

        public void cleanMergeMap​(java.util.Map mergeMap)
        Description copied from interface: CleanFilter
        This method is called to clean the merge map.
        Specified by:
        cleanMergeMap in interface CleanFilter
        Parameters:
        mergeMap - the merge map
      • isCleanable

        public boolean isCleanable​(InnerLogEntry entry)
        Description copied from interface: CleanFilter
        Returns true if the entry can be cleaned or false otherwise.
        Specified by:
        isCleanable in interface CleanFilter
        Parameters:
        entry - the entry to be checked
        Returns:
        true if the entry can be cleaned or false otherwise
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setBeginStamp

        public void setBeginStamp​(Stamp startStamp)
      • setBeginTime

        public void setBeginTime​(long startTime)
      • setEndStamp

        public void setEndStamp​(Stamp endStamp)
      • setEndTime

        public void setEndTime​(long endTime)
      • setRemoveDeleted

        public void setRemoveDeleted​(boolean v)
      • setMergeMinorUpdate

        public void setMergeMinorUpdate​(boolean v)
      • setMergeMetadataUpdate

        public void setMergeMetadataUpdate​(boolean v)
      • setMergeMajorUpdate

        public void setMergeMajorUpdate​(boolean v)
      • setUridSet

        public void setUridSet​(java.util.Set uridSet)
      • setRemoveMilestone

        public void setRemoveMilestone​(boolean v)
      • setWorkspaceSet

        public void setWorkspaceSet​(java.util.Set wsSet)