Class DuplicateMessageFilter

  • All Implemented Interfaces:
    ContextAware, LifeCycle

    public class DuplicateMessageFilter
    extends TurboFilter
    See {@link http://logback.qos.ch/manual/filters.html#DuplicateMessageFilter} for details.
    • Field Detail

      • DEFAULT_CACHE_SIZE

        public static final int DEFAULT_CACHE_SIZE
        The default cache size.
        See Also:
        Constant Field Values
      • DEFAULT_ALLOWED_REPETITIONS

        public static final int DEFAULT_ALLOWED_REPETITIONS
        The default number of allows repetitions.
        See Also:
        Constant Field Values
      • allowedRepetitions

        public int allowedRepetitions
      • cacheSize

        public int cacheSize
    • Constructor Detail

      • DuplicateMessageFilter

        public DuplicateMessageFilter()
    • Method Detail

      • getAllowedRepetitions

        public int getAllowedRepetitions()
      • setAllowedRepetitions

        public void setAllowedRepetitions​(int allowedRepetitions)
        The allowed number of repetitions before
        Parameters:
        allowedRepetitions -
      • getCacheSize

        public int getCacheSize()
      • setCacheSize

        public void setCacheSize​(int cacheSize)