B
- The type to build.public abstract static class SocketAppender.AbstractBuilder<B extends SocketAppender.AbstractBuilder<B>> extends AbstractOutputStreamAppender.Builder<B>
Constructor and Description |
---|
AbstractBuilder() |
Modifier and Type | Method and 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) |
getBufferSize, isBufferedIo, isImmediateFlush, withBufferedIo, withBufferSize, withImmediateFlush
getConfiguration, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, setIgnoreExceptions, setLayout, setName, withConfiguration, withIgnoreExceptions, withLayout, withName
asBuilder, getFilter, getPropertyArray, setFilter, setPropertyArray, withFilter
public AbstractBuilder()
public boolean getAdvertise()
public int getConnectTimeoutMillis()
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 withProtocol(Protocol protocol)
public B withReconnectDelayMillis(int reconnectDelayMillis)
public B withSocketOptions(SocketOptions socketOptions)
public B withSslConfiguration(SslConfiguration sslConfiguration)
public int getReconnectDelayMillis()
public SocketOptions getSocketOptions()
Copyright © 1999-2020 The Apache Software Foundation. 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.