Class AccessEventAppenderListenerImpl

java.lang.Object
net.logstash.logback.appender.listener.AccessEventAppenderListenerImpl
All Implemented Interfaces:
AppenderListener<IAccessEvent>
Direct Known Subclasses:
AccessEventTcpAppenderListenerImpl

@Deprecated public class AccessEventAppenderListenerImpl extends Object implements AppenderListener<IAccessEvent>
Deprecated.
Replaced by default methods in interface.
Implementation of AppenderListener for IAccessEvents that does nothing.
  • Constructor Details

    • AccessEventAppenderListenerImpl

      public AccessEventAppenderListenerImpl()
      Deprecated.
  • Method Details

    • appenderStarted

      public void appenderStarted(Appender<IAccessEvent> appender)
      Deprecated.
      Description copied from interface: AppenderListener
      Called when the given appender is started.
      Specified by:
      appenderStarted in interface AppenderListener<IAccessEvent>
      Parameters:
      appender - the appender that was started
    • appenderStopped

      public void appenderStopped(Appender<IAccessEvent> appender)
      Deprecated.
      Description copied from interface: AppenderListener
      Called when the given appender is stopped.
      Specified by:
      appenderStopped in interface AppenderListener<IAccessEvent>
      Parameters:
      appender - the appender that was stopped
    • eventAppended

      public void eventAppended(Appender<IAccessEvent> appender, IAccessEvent event, long durationInNanos)
      Deprecated.
      Description copied from interface: AppenderListener
      Called when the given event was successfully appended by the given appender. Note that for Asynchronous appenders, this generally means that the event was accepted for processing, but hasn't finished processing yet.
      Specified by:
      eventAppended in interface AppenderListener<IAccessEvent>
      Parameters:
      appender - the appender when successfully appended the event
      event - the event that was appended
      durationInNanos - the time (in nanoseconds) it took to append the event
    • eventAppendFailed

      public void eventAppendFailed(Appender<IAccessEvent> appender, IAccessEvent event, Throwable reason)
      Deprecated.
      Description copied from interface: AppenderListener
      Called when the given event was failed to be appended by the given appender.
      Specified by:
      eventAppendFailed in interface AppenderListener<IAccessEvent>
      Parameters:
      appender - the appender when successfully appended the event
      event - the event that was appended
      reason - what caused the failure