B - The type to build.SocketAppender.Builder, SyslogAppender.Builderpublic abstract static class SocketAppender.AbstractBuilder<B extends SocketAppender.AbstractBuilder<B>> extends AbstractOutputStreamAppender.Builder<B>
| Constructor | Description |
|---|---|
AbstractBuilder() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
getAdvertise() |
|
int |
getConnectTimeoutMillis() |
|
String |
getHost() |
|
boolean |
getImmediateFail() |
|
int |
getPort() |
|
Protocol |
getProtocol() |
|
int |
getReconnectDelayMillis() |
|
SocketOptions |
getSocketOptions() |
|
SslConfiguration |
getSslConfiguration() |
|
B |
withAdvertise(boolean advertise) |
|
B |
withConnectTimeoutMillis(int connectTimeoutMillis) |
|
B |
withHost(String host) |
|
B |
withImmediateFail(boolean immediateFail) |
|
B |
withPort(int port) |
|
B |
withProtocol(Protocol protocol) |
|
B |
withReconnectDelayMillis(int reconnectDelayMillis) |
|
B |
withSocketOptions(SocketOptions socketOptions) |
|
B |
withSslConfiguration(SslConfiguration sslConfiguration) |
getConfiguration, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, withConfiguration, withIgnoreExceptions, withLayout, withNameasBuilder, getFilter, withFiltergetBufferSize, isBufferedIo, isImmediateFlush, withBufferedIo, withBufferSize, withImmediateFlushpublic boolean getAdvertise()
public int getConnectTimeoutMillis()
public String getHost()
public int getPort()
public Protocol getProtocol()
public SslConfiguration getSslConfiguration()
public boolean getImmediateFail()
public B withAdvertise(boolean advertise)
public B withConnectTimeoutMillis(int connectTimeoutMillis)
public B withImmediateFail(boolean immediateFail)
public B withPort(int port)
public B withReconnectDelayMillis(int reconnectDelayMillis)
public B withSocketOptions(SocketOptions socketOptions)
public B withSslConfiguration(SslConfiguration sslConfiguration)
public int getReconnectDelayMillis()
public SocketOptions getSocketOptions()
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.