Builder<RollingRandomAccessFileAppender>
public static class RollingRandomAccessFileAppender.Builder<B extends RollingRandomAccessFileAppender.Builder<B>> extends AbstractOutputStreamAppender.Builder<B> implements Builder<RollingRandomAccessFileAppender>
Constructor | Description |
---|---|
Builder() |
Modifier and Type | Method | Description |
---|---|---|
RollingRandomAccessFileAppender |
build() |
Builds the object after all configuration has been set.
|
B |
withAdvertise(boolean advertise) |
|
B |
withAdvertiseURI(String advertiseURI) |
|
B |
withAppend(boolean append) |
|
B |
withFileGroup(String fileGroup) |
|
B |
withFileName(String fileName) |
|
B |
withFileOwner(String fileOwner) |
|
B |
withFilePattern(String filePattern) |
|
B |
withFilePermissions(String filePermissions) |
|
B |
withPolicy(TriggeringPolicy policy) |
|
B |
withStrategy(RolloverStrategy strategy) |
getConfiguration, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, withConfiguration, withIgnoreExceptions, withLayout, withName
asBuilder, getFilter, withFilter
getBufferSize, isBufferedIo, isImmediateFlush, withBufferedIo, withBufferSize, withImmediateFlush
public RollingRandomAccessFileAppender build()
Builder
build
in interface Builder<B extends RollingRandomAccessFileAppender.Builder<B>>
public B withAppend(boolean append)
public B withPolicy(TriggeringPolicy policy)
public B withStrategy(RolloverStrategy strategy)
public B withAdvertise(boolean advertise)
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.