Module logstash.logback.encoder
Class AccessEventTcpAppenderListenerImpl
java.lang.Object
net.logstash.logback.appender.listener.AccessEventAppenderListenerImpl
net.logstash.logback.appender.listener.AccessEventTcpAppenderListenerImpl
- All Implemented Interfaces:
AppenderListener<IAccessEvent>,TcpAppenderListener<IAccessEvent>
@Deprecated
public class AccessEventTcpAppenderListenerImpl
extends AccessEventAppenderListenerImpl
implements TcpAppenderListener<IAccessEvent>
Deprecated.
Replaced by default methods in interface.
Implementation of
TcpAppenderListener for IAccessEvents that does nothing.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnectionClosed(Appender<IAccessEvent> appender, Socket socket) Deprecated.Called after the given appender closes the given socket (either due to a reconnect, or shutdown)voidconnectionFailed(Appender<IAccessEvent> appender, InetSocketAddress address, Throwable reason) Deprecated.Called after the given appender fails to open a socketvoidconnectionOpened(Appender<IAccessEvent> appender, Socket socket) Deprecated.Called after the given appender successfully opens the given socketvoideventSendFailure(Appender<IAccessEvent> appender, IAccessEvent event, Throwable reason) Deprecated.Called when the given appender fails to send the given event over a TCP connection.voideventSent(Appender<IAccessEvent> appender, Socket socket, IAccessEvent event, long durationInNanos) Deprecated.Called after given appender successfully sent the given event over the TCP connection.Methods inherited from class net.logstash.logback.appender.listener.AccessEventAppenderListenerImpl
appenderStarted, appenderStopped, eventAppended, eventAppendFailedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.logstash.logback.appender.listener.AppenderListener
appenderStarted, appenderStopped, eventAppended, eventAppendFailed
-
Constructor Details
-
AccessEventTcpAppenderListenerImpl
public AccessEventTcpAppenderListenerImpl()Deprecated.
-
-
Method Details
-
eventSent
public void eventSent(Appender<IAccessEvent> appender, Socket socket, IAccessEvent event, long durationInNanos) Deprecated.Description copied from interface:TcpAppenderListenerCalled after given appender successfully sent the given event over the TCP connection.- Specified by:
eventSentin interfaceTcpAppenderListener<IAccessEvent>- Parameters:
appender- the appender that sent the eventsocket- the socket over which the appender sent the eventevent- the event that was sentdurationInNanos- the time (in nanoseconds) it took to send the event
-
eventSendFailure
Deprecated.Description copied from interface:TcpAppenderListenerCalled when the given appender fails to send the given event over a TCP connection.- Specified by:
eventSendFailurein interfaceTcpAppenderListener<IAccessEvent>- Parameters:
appender- the appender that attempted to send the eventevent- the event that failed to sendreason- what caused the failure
-
connectionOpened
Deprecated.Description copied from interface:TcpAppenderListenerCalled after the given appender successfully opens the given socket- Specified by:
connectionOpenedin interfaceTcpAppenderListener<IAccessEvent>- Parameters:
appender- the appender that opened the socketsocket- the socket that was opened
-
connectionFailed
public void connectionFailed(Appender<IAccessEvent> appender, InetSocketAddress address, Throwable reason) Deprecated.Description copied from interface:TcpAppenderListenerCalled after the given appender fails to open a socket- Specified by:
connectionFailedin interfaceTcpAppenderListener<IAccessEvent>- Parameters:
appender- the appender that attempted to open a socketaddress- the address to which the appender attempted to connectreason- what caused the failure
-
connectionClosed
Deprecated.Description copied from interface:TcpAppenderListenerCalled after the given appender closes the given socket (either due to a reconnect, or shutdown)- Specified by:
connectionClosedin interfaceTcpAppenderListener<IAccessEvent>- Parameters:
appender- the appender that closed the socketsocket- the socket that was closed
-