Module logstash.logback.encoder
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappenderStarted(Appender<IAccessEvent> appender) Deprecated.Called when the given appender is started.voidappenderStopped(Appender<IAccessEvent> appender) Deprecated.Called when the given appender is stopped.voideventAppended(Appender<IAccessEvent> appender, IAccessEvent event, long durationInNanos) Deprecated.Called when the given event was successfully appended by the given appender.voideventAppendFailed(Appender<IAccessEvent> appender, IAccessEvent event, Throwable reason) Deprecated.Called when the given event was failed to be appended by the given appender.
-
Constructor Details
-
AccessEventAppenderListenerImpl
public AccessEventAppenderListenerImpl()Deprecated.
-
-
Method Details
-
appenderStarted
Deprecated.Description copied from interface:AppenderListenerCalled when the given appender is started.- Specified by:
appenderStartedin interfaceAppenderListener<IAccessEvent>- Parameters:
appender- the appender that was started
-
appenderStopped
Deprecated.Description copied from interface:AppenderListenerCalled when the given appender is stopped.- Specified by:
appenderStoppedin interfaceAppenderListener<IAccessEvent>- Parameters:
appender- the appender that was stopped
-
eventAppended
public void eventAppended(Appender<IAccessEvent> appender, IAccessEvent event, long durationInNanos) Deprecated.Description copied from interface:AppenderListenerCalled 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:
eventAppendedin interfaceAppenderListener<IAccessEvent>- Parameters:
appender- the appender when successfully appended the eventevent- the event that was appendeddurationInNanos- 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:AppenderListenerCalled when the given event was failed to be appended by the given appender.- Specified by:
eventAppendFailedin interfaceAppenderListener<IAccessEvent>- Parameters:
appender- the appender when successfully appended the eventevent- the event that was appendedreason- what caused the failure
-