ch.qos.logback.classic.spi
Class TurboFilterList

java.lang.Object
  extended by java.util.concurrent.CopyOnWriteArrayList<TurboFilter>
      extended by ch.qos.logback.classic.spi.TurboFilterList
All Implemented Interfaces:
Serializable, Cloneable, Iterable<TurboFilter>, Collection<TurboFilter>, List<TurboFilter>, RandomAccess

public final class TurboFilterList
extends CopyOnWriteArrayList<TurboFilter>

Implementation of TurboFilterAttachable.

Author:
Ceki Gülcü
See Also:
Serialized Form

Constructor Summary
TurboFilterList()
           
 
Method Summary
 FilterReply getTurboFilterChainDecision(org.slf4j.Marker marker, Logger logger, Level level, String format, Object[] params, 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, get, hashCode, indexOf, indexOf, isEmpty, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TurboFilterList

public TurboFilterList()
Method Detail

getTurboFilterChainDecision

public final FilterReply getTurboFilterChainDecision(org.slf4j.Marker marker,
                                                     Logger logger,
                                                     Level level,
                                                     String format,
                                                     Object[] params,
                                                     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.



Copyright © 2005-2009 QOS.ch. All Rights Reserved.