| Package | Description |
|---|---|
| org.graylog2.gelfclient | |
| org.graylog2.gelfclient.transport |
| Modifier and Type | Method and Description |
|---|---|
GelfConfiguration |
GelfConfiguration.connectTimeout(int connectTimeout)
Set the connection timeout for TCP connections in milliseconds.
|
GelfConfiguration |
GelfConfiguration.disableTls()
Disable TLS for transport.
|
GelfConfiguration |
GelfConfiguration.disableTlsCertVerification()
Disable TLS certificate verification for transport.
|
GelfConfiguration |
GelfConfiguration.enableTls()
Enable TLS for transport.
|
GelfConfiguration |
GelfConfiguration.enableTlsCertVerification()
Enable TLS certificate verification for transport.
|
GelfConfiguration |
GelfConfiguration.maxInflightSends(int maxInflightSends)
Set the number of max queued network operations.
|
GelfConfiguration |
GelfConfiguration.queueSize(int size)
Set the size of the internally used
BlockingQueue. |
GelfConfiguration |
GelfConfiguration.reconnectDelay(int reconnectDelay)
Set the time to wait between reconnects in milliseconds.
|
GelfConfiguration |
GelfConfiguration.sendBufferSize(int sendBufferSize)
Set the size of the socket send buffer in bytes.
|
GelfConfiguration |
GelfConfiguration.tcpKeepAlive(boolean tcpKeepAlive) |
GelfConfiguration |
GelfConfiguration.tcpNoDelay(boolean tcpNoDelay)
Whether to use Nagle's algorithm for TCP connections.
|
GelfConfiguration |
GelfConfiguration.tlsTrustCertChainFile(File tlsTrustCertChainFile)
Set the trust certificate chain file for the TLS connection.
|
GelfConfiguration |
GelfConfiguration.transport(GelfTransports transport)
Set the transport protocol used with the GELF server.
|
| Modifier and Type | Method and Description |
|---|---|
static GelfTransport |
GelfTransports.create(GelfConfiguration config)
Creates a
GelfTransport from the given configuration. |
static GelfTransport |
GelfTransports.create(GelfTransports transport,
GelfConfiguration config)
Creates a
GelfTransport from the given protocol and configuration. |
| Modifier and Type | Field and Description |
|---|---|
protected GelfConfiguration |
AbstractGelfTransport.config |
| Constructor and Description |
|---|
AbstractGelfTransport(GelfConfiguration config)
Creates a new GELF transport with the given configuration.
|
AbstractGelfTransport(GelfConfiguration config,
BlockingQueue<GelfMessage> queue)
Creates a new GELF transport with the given configuration and
BlockingQueue. |
GelfTcpTransport(GelfConfiguration config)
Creates a new TCP GELF transport.
|
GelfUdpTransport(GelfConfiguration config)
Creates a new UDP GELF transport.
|
Copyright © 2016 TORCH. All rights reserved.