Top Description Fields Constructors Methods
ch.qos.logback.classic.spi

public final Class TurboFilterList

extends CopyOnWriteArrayList<TurboFilter>
Class Inheritance
Imports
java.util.concurrent.CopyOnWriteArrayList, org.slf4j.Marker, ch.qos.logback.classic.Level, .Logger, ch.qos.logback.classic.turbo.TurboFilter, ch.qos.logback.core.spi.FilterReply

Implementation of TurboFilterAttachable.
Author
Ceki Gülcü

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public FilterReply
getTurboFilterChainDecision(final Marker marker, final Logger logger, final Level level, final String format, final Object[] params, final Throwable t)

Loop through the filters in the chain.

Inherited from java.util.concurrent.CopyOnWriteArrayList:
addaddaddAlladdAlladdAllAbsentaddFirstaddIfAbsentaddLastclearclonecontainscontainsAllequalsforEachgetgetFirstgetLasthashCodeindexOfindexOfisEmptyiteratorlastIndexOflastIndexOflistIteratorlistIteratorremoveremoveremoveAllremoveFirstremoveIfremoveLastreplaceAllretainAllreversedsetsizesortspliteratorsubListtoArraytoArraytoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.concurrent.CopyOnWriteArrayList.serialVersionUID.

Constructor Detail

TurboFilterListback to summary
public TurboFilterList()

Method Detail

getTurboFilterChainDecisionback to summary
public FilterReply getTurboFilterChainDecision(final Marker marker, final Logger logger, final Level level, final String format, final Object[] params, final Throwable t)

Loop through the filters in the chain. As soon as a filter decides on ACCEPT or DENY, then that value is returned. If all of the filters return NEUTRAL, then NEUTRAL is returned.