B
- The type to buildpublic static class MemoryMappedFileAppender.Builder<B extends MemoryMappedFileAppender.Builder<B>> extends AbstractOutputStreamAppender.Builder<B> implements Builder<MemoryMappedFileAppender>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MemoryMappedFileAppender |
build()
Builds the object after all configuration has been set.
|
B |
setAdvertise(boolean advertise) |
B |
setAdvertiseURI(String advertiseURI) |
B |
setAppend(boolean append) |
B |
setFileName(String fileName) |
B |
setRegionLength(int regionLength) |
getBufferSize, isBufferedIo, isImmediateFlush, withBufferedIo, withBufferSize, withImmediateFlush
getConfiguration, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, withConfiguration, withIgnoreExceptions, withLayout, withName
asBuilder, getFilter, withFilter
public MemoryMappedFileAppender build()
Builder
build
in interface Builder<MemoryMappedFileAppender>
public B setAppend(boolean append)
public B setRegionLength(int regionLength)
public B setAdvertise(boolean advertise)
Copyright © 1999-2017. 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.