Class AbstractOutputStreamAppender.Builder<B extends AbstractOutputStreamAppender.Builder<B>>
java.lang.Object
org.apache.logging.log4j.core.filter.AbstractFilterable.Builder<B>
org.apache.logging.log4j.core.appender.AbstractAppender.Builder<B>
org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder<B>
- Type Parameters:
B
- The type to build.
- Direct Known Subclasses:
AbstractFileAppender.Builder
,ConsoleAppender.Builder
,FileAppender.Builder
,MemoryMappedFileAppender.Builder
,OutputStreamAppender.Builder
,RandomAccessFileAppender.Builder
,RollingFileAppender.Builder
,RollingRandomAccessFileAppender.Builder
,SocketAppender.AbstractBuilder
- Enclosing class:
- AbstractOutputStreamAppender<M extends OutputStreamManager>
public abstract static class AbstractOutputStreamAppender.Builder<B extends AbstractOutputStreamAppender.Builder<B>>
extends AbstractAppender.Builder<B>
Subclasses can extend this abstract Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
setBufferedIo
(boolean bufferedIo) setBufferSize
(int bufferSize) setImmediateFlush
(boolean immediateFlush) withBufferedIo
(boolean bufferedIo) Deprecated.withBufferSize
(int bufferSize) Deprecated.withImmediateFlush
(boolean immediateFlush) Deprecated.Methods inherited from class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
getConfiguration, getErrorPrefix, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, setIgnoreExceptions, setLayout, setName, withConfiguration, withIgnoreExceptions, withLayout, withName
Methods inherited from class org.apache.logging.log4j.core.filter.AbstractFilterable.Builder
asBuilder, getFilter, getPropertyArray, setFilter, setPropertyArray, withFilter
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
getBufferSize
public int getBufferSize() -
isBufferedIo
public boolean isBufferedIo() -
isImmediateFlush
public boolean isImmediateFlush() -
setImmediateFlush
-
setBufferedIo
-
setBufferSize
-
withImmediateFlush
Deprecated. -
withBufferedIo
Deprecated. -
withBufferSize
Deprecated.
-