Package ch.qos.logback.classic.turbo
Class DuplicateMessageFilter
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.classic.turbo.TurboFilter
-
- ch.qos.logback.classic.turbo.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 {@link http://logback.qos.ch/manual/filters.html#DuplicateMessageFilter} for details.
-
-
Field Summary
Fields Modifier and Type Field Description int
allowedRepetitions
Deprecated.int
cacheSize
Deprecated.static int
DEFAULT_ALLOWED_REPETITIONS
Deprecated.The default number of allows repetitions.static int
DEFAULT_CACHE_SIZE
Deprecated.The default cache size.
-
Constructor Summary
Constructors Constructor Description DuplicateMessageFilter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FilterReply
decide(Marker marker, Logger logger, Level level, java.lang.String format, java.lang.Object[] params, java.lang.Throwable t)
Deprecated.Make a decision based on the multiple parameters passed as arguments.int
getAllowedRepetitions()
Deprecated.int
getCacheSize()
Deprecated.void
setAllowedRepetitions(int allowedRepetitions)
Deprecated.The allowed number of repetitions beforevoid
setCacheSize(int cacheSize)
Deprecated.void
start()
Deprecated.void
stop()
Deprecated.-
Methods inherited from class ch.qos.logback.classic.turbo.TurboFilter
getName, isStarted, setName
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Field Detail
-
DEFAULT_CACHE_SIZE
public static final int DEFAULT_CACHE_SIZE
Deprecated.The default cache size.- See Also:
- Constant Field Values
-
DEFAULT_ALLOWED_REPETITIONS
public static final int DEFAULT_ALLOWED_REPETITIONS
Deprecated.The default number of allows repetitions.- See Also:
- Constant Field Values
-
allowedRepetitions
public int allowedRepetitions
Deprecated.
-
cacheSize
public int cacheSize
Deprecated.
-
-
Method Detail
-
start
public void start()
Deprecated.- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classTurboFilter
-
stop
public void stop()
Deprecated.- Specified by:
stop
in interfaceLifeCycle
- Overrides:
stop
in classTurboFilter
-
decide
public FilterReply decide(Marker marker, Logger logger, Level level, java.lang.String format, java.lang.Object[] params, java.lang.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
, orFilterReply.NEUTRAL
.FilterReply.ACCEPT
- Specified by:
decide
in classTurboFilter
- 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.
-
-