Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.apache.logging.log4j.core.appender.rolling.TriggeringPolicy

Packages that use TriggeringPolicy
org.apache.logging.log4j.core.appender | Log4j 2 Appenders.
org.apache.logging.log4j.core.appender.rolling | Rolling File Appender and support classes.

Uses of TriggeringPolicy in org.apache.logging.log4j.core.appender

Methods in org.apache.logging.log4j.core.appender with parameters of type TriggeringPolicy
`static RollingFileAppender` | `RollingFileAppender.createAppender(String fileName, String filePattern, String append, String name, String bufferedIO, String bufferSizeStr, String immediateFlush, TriggeringPolicy policy, RolloverStrategy strategy, Layout<? extends Serializable> layout, Filter filter, String ignore, String advertise, String advertiseURI, Configuration config)` Create a RollingFileAppender.
`static RollingRandomAccessFileAppender` | `RollingRandomAccessFileAppender.createAppender(String fileName, String filePattern, String append, String name, String immediateFlush, String bufferSizeStr, TriggeringPolicy policy, RolloverStrategy strategy, Layout<? extends Serializable> layout, Filter filter, String ignore, String advertise, String advertiseURI, Configuration config)` Create a RollingRandomAccessFileAppender.

Uses of TriggeringPolicy in org.apache.logging.log4j.core.appender.rolling

Classes in org.apache.logging.log4j.core.appender.rolling that implement TriggeringPolicy
`class` | `CompositeTriggeringPolicy` Triggering policy that wraps other policies.
`class` | `OnStartupTriggeringPolicy` Triggers a rollover on every restart.
`class` | `SizeBasedTriggeringPolicy`
`class` | `TimeBasedTriggeringPolicy` Triggering Policy that causes a rollover based on time.

Methods in org.apache.logging.log4j.core.appender.rolling that return TriggeringPolicy
`TriggeringPolicy` | `RollingFileManager.getTriggeringPolicy()` Returns the triggering policy

Methods in org.apache.logging.log4j.core.appender.rolling with parameters of type TriggeringPolicy
`static CompositeTriggeringPolicy` | `CompositeTriggeringPolicy.createPolicy(TriggeringPolicy... policies)` Create a CompositeTriggeringPolicy.
`static RollingFileManager` | `RollingFileManager.getFileManager(String fileName, String pattern, boolean append, boolean bufferedIO, TriggeringPolicy policy, RolloverStrategy strategy, String advertiseURI, Layout<? extends Serializable> layout, int bufferSize)` Returns a RollingFileManager.
`static RollingRandomAccessFileManager` | `RollingRandomAccessFileManager.getRollingRandomAccessFileManager(String fileName, String filePattern, boolean isAppend, boolean immediateFlush, int bufferSize, TriggeringPolicy policy, RolloverStrategy strategy, String advertiseURI, Layout<? extends Serializable> layout)`

Constructors in org.apache.logging.log4j.core.appender.rolling with parameters of type TriggeringPolicy
`RollingFileManager(String fileName, String pattern, OutputStream os, boolean append, long size, long time, TriggeringPolicy triggeringPolicy, RolloverStrategy rolloverStrategy, String advertiseURI, Layout<? extends Serializable> layout, int bufferSize)`
`RollingRandomAccessFileManager(RandomAccessFile raf, String fileName, String pattern, OutputStream os, boolean append, boolean immediateFlush, int bufferSize, long size, long time, TriggeringPolicy policy, RolloverStrategy strategy, String advertiseURI, Layout<? extends Serializable> layout)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 1999-2015 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.