public class GelfTcpAppender extends AbstractGelfAppender
| Constructor and Description |
|---|
GelfTcpAppender() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendMessage(byte[] messageToSend) |
protected void |
close() |
int |
getConnectTimeout() |
int |
getMaxRetries() |
int |
getReconnectInterval() |
int |
getRetryDelay() |
protected java.net.Socket |
getSocket() |
void |
setConnectTimeout(int connectTimeout) |
void |
setMaxRetries(int maxRetries) |
void |
setReconnectInterval(int reconnectInterval) |
void |
setRetryDelay(int retryDelay) |
append, getGraylogHost, getGraylogPort, getLayout, setGraylogHost, setGraylogPort, setLayout, start, startAppender, stopaddFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextpublic int getConnectTimeout()
public void setConnectTimeout(int connectTimeout)
public int getReconnectInterval()
public void setReconnectInterval(int reconnectInterval)
public int getMaxRetries()
public void setMaxRetries(int maxRetries)
public int getRetryDelay()
public void setRetryDelay(int retryDelay)
protected void appendMessage(byte[] messageToSend)
throws java.io.IOException
appendMessage in class AbstractGelfAppenderjava.io.IOExceptionprotected java.net.Socket getSocket()
throws java.io.IOException
java.io.IOExceptionprotected void close()
throws java.io.IOException
close in class AbstractGelfAppenderjava.io.IOException