B
- The type to build.public abstract static class SocketAppender.AbstractBuilder<B extends SocketAppender.AbstractBuilder<B>> extends AbstractOutputStreamAppender.Builder<B>
Constructor and Description |
---|
AbstractBuilder() |
getBufferSize, isBufferedIo, isImmediateFlush, setBufferedIo, setBufferSize, setImmediateFlush, withBufferedIo, withBufferSize, withImmediateFlush
getConfiguration, getErrorPrefix, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, setIgnoreExceptions, setLayout, setName, withConfiguration, withIgnoreExceptions, withLayout, withName
asBuilder, getFilter, getPropertyArray, setFilter, setPropertyArray, withFilter
public boolean getAdvertise()
public int getConnectTimeoutMillis()
public String getHost()
public int getPort()
public Protocol getProtocol()
public SslConfiguration getSslConfiguration()
public boolean getImmediateFail()
public B setAdvertise(boolean advertise)
public B setConnectTimeoutMillis(int connectTimeoutMillis)
public B setImmediateFail(boolean immediateFail)
public B setPort(int port)
public B setReconnectDelayMillis(int reconnectDelayMillis)
public B setSocketOptions(SocketOptions socketOptions)
public B setSslConfiguration(SslConfiguration sslConfiguration)
@Deprecated public B withAdvertise(boolean advertise)
@Deprecated public B withConnectTimeoutMillis(int connectTimeoutMillis)
@Deprecated public B withHost(String host)
@Deprecated public B withImmediateFail(boolean immediateFail)
@Deprecated public B withPort(int port)
@Deprecated public B withProtocol(Protocol protocol)
@Deprecated public B withReconnectDelayMillis(int reconnectDelayMillis)
@Deprecated public B withSocketOptions(SocketOptions socketOptions)
@Deprecated public B withSslConfiguration(SslConfiguration sslConfiguration)
public int getReconnectDelayMillis()
public SocketOptions getSocketOptions()
Copyright © 1999-2023 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.