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.
This internal logback API is not supported by AEM as a Cloud Service.
See
}
for details.
invalid @link
{@link http://logback.qos.ch/manual/filters.html#DuplicateMessageFilter
-
Field Summary
FieldsModifier and TypeFieldDescriptionintDeprecated.intDeprecated.static final intDeprecated.The default number of allows repetitions.static final intDeprecated.The default cache size. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Make a decision based on the multiple parameters passed as arguments.intDeprecated.intDeprecated.voidsetAllowedRepetitions(int allowedRepetitions) Deprecated.The allowed number of repetitions beforevoidsetCacheSize(int cacheSize) Deprecated.voidstart()Deprecated.voidstop()Deprecated.Methods inherited from class ch.qos.logback.classic.turbo.TurboFilter
getName, isStarted, setNameMethods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
Field Details
-
DEFAULT_CACHE_SIZE
public static final int DEFAULT_CACHE_SIZEDeprecated.The default cache size.- See Also:
-
DEFAULT_ALLOWED_REPETITIONS
public static final int DEFAULT_ALLOWED_REPETITIONSDeprecated.The default number of allows repetitions.- See Also:
-
allowedRepetitions
public int allowedRepetitionsDeprecated. -
cacheSize
public int cacheSizeDeprecated.
-
-
Constructor Details
-
DuplicateMessageFilter
public DuplicateMessageFilter()Deprecated.
-
-
Method Details
-
start
public void start()Deprecated.- Specified by:
startin interfaceLifeCycle- Overrides:
startin classTurboFilter
-
stop
public void stop()Deprecated.- Specified by:
stopin interfaceLifeCycle- Overrides:
stopin classTurboFilter
-
decide
public FilterReply decide(Marker marker, Logger logger, Level level, String format, Object[] params, Throwable t) Deprecated.Description copied from class:TurboFilterMake 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:
decidein classTurboFilter- 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.
-