Class DuplicateMessageFilter

All Implemented Interfaces:
ContextAware, LifeCycle

@Deprecated(since="2022-01-27") public class DuplicateMessageFilter extends TurboFilter
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
See
invalid @link
{@link http://logback.qos.ch/manual/filters.html#DuplicateMessageFilter
} for details.
  • Field Details

    • DEFAULT_CACHE_SIZE

      public static final int DEFAULT_CACHE_SIZE
      Deprecated.
      The default cache size.
      See Also:
    • DEFAULT_ALLOWED_REPETITIONS

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

      public int allowedRepetitions
      Deprecated.
    • cacheSize

      public int cacheSize
      Deprecated.
  • Constructor Details

    • DuplicateMessageFilter

      public DuplicateMessageFilter()
      Deprecated.
  • Method Details

    • start

      public void start()
      Deprecated.
      Specified by:
      start in interface LifeCycle
      Overrides:
      start in class TurboFilter
    • stop

      public void stop()
      Deprecated.
      Specified by:
      stop in interface LifeCycle
      Overrides:
      stop in class TurboFilter
    • decide

      public FilterReply decide(Marker marker, Logger logger, Level level, String format, Object[] params, Throwable t)
      Deprecated.
      Description copied from class: TurboFilter
      Make a decision based on the multiple parameters passed as arguments. The returned value should be one of FilterReply.DENY, FilterReply.NEUTRAL, or FilterReply.ACCEPT.
      Specified by:
      decide in class TurboFilter
      Parameters:
      marker -
      logger -
      level -
      format -
      params -
      t -
      Returns:
    • getAllowedRepetitions

      public int getAllowedRepetitions()
      Deprecated.
    • setAllowedRepetitions

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

      public int getCacheSize()
      Deprecated.
    • setCacheSize

      public void setCacheSize(int cacheSize)
      Deprecated.