Package ch.qos.logback.classic.spi
Class TurboFilterList
- java.lang.Object
-
- java.util.concurrent.CopyOnWriteArrayList<TurboFilter>
-
- ch.qos.logback.classic.spi.TurboFilterList
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<TurboFilter>
,java.util.Collection<TurboFilter>
,java.util.List<TurboFilter>
,java.util.RandomAccess
public final class TurboFilterList extends java.util.concurrent.CopyOnWriteArrayList<TurboFilter>
Implementation of TurboFilterAttachable.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TurboFilterList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilterReply
getTurboFilterChainDecision(Marker marker, Logger logger, Level level, java.lang.String format, java.lang.Object[] params, java.lang.Throwable t)
Loop through the filters in the chain.-
Methods inherited from class java.util.concurrent.CopyOnWriteArrayList
add, add, addAll, addAll, addAllAbsent, addIfAbsent, clear, clone, contains, containsAll, equals, forEach, get, hashCode, indexOf, indexOf, isEmpty, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, toString
-
-
-
-
Method Detail
-
getTurboFilterChainDecision
public FilterReply getTurboFilterChainDecision(Marker marker, Logger logger, Level level, java.lang.String format, java.lang.Object[] params, java.lang.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.
-
-