Class TurboFilter

  • All Implemented Interfaces:
    ContextAware, LifeCycle
    Direct Known Subclasses:
    DuplicateMessageFilter, DynamicThresholdFilter, MatchingFilter, ReconfigureOnChangeFilter

    @Deprecated(since="2022-01-27")
    public abstract class TurboFilter
    extends ContextAwareBase
    implements LifeCycle
    Deprecated.
    This internal logback API is not supported by AEM as a Cloud Service.
    TurboFilter is a specialized filter with a decide method that takes a bunch of parameters instead of a single event object. The latter is cleaner but the first is much more performant.

    For more information about turbo filters, please refer to the online manual at http://logback.qos.ch/manual/filters.html#TurboFilter

    • Constructor Detail

      • TurboFilter

        public TurboFilter()
        Deprecated.
    • Method Detail

      • decide

        public abstract 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. The returned value should be one of FilterReply.DENY, FilterReply.NEUTRAL, or FilterReply.ACCEPT.
        Parameters:
        marker -
        logger -
        level -
        format -
        params -
        t -
        Returns:
      • start

        public void start()
        Deprecated.
        Specified by:
        start in interface LifeCycle
      • isStarted

        public boolean isStarted()
        Deprecated.
        Specified by:
        isStarted in interface LifeCycle
      • stop

        public void stop()
        Deprecated.
        Specified by:
        stop in interface LifeCycle
      • getName

        public java.lang.String getName()
        Deprecated.
      • setName

        public void setName​(java.lang.String name)
        Deprecated.