Uses of Interface
org.apache.logging.log4j.core.appender.rolling.action.Action
-
Packages that use Action Package Description org.apache.logging.log4j.core.appender.rolling Rolling File Appender and support classes.org.apache.logging.log4j.core.appender.rolling.action Support classes for the Rolling File Appender. -
-
Uses of Action in org.apache.logging.log4j.core.appender.rolling
Classes in org.apache.logging.log4j.core.appender.rolling that implement Action Modifier and Type Class Description private static class
RollingFileManager.AsyncAction
Performs actions asynchronously.Fields in org.apache.logging.log4j.core.appender.rolling declared as Action Modifier and Type Field Description private Action
RollingFileManager.AsyncAction. action
private Action
RolloverDescriptionImpl. asynchronous
Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.private Action[]
DefaultRolloverStrategy.Builder. customActions
private Action[]
DirectWriteRolloverStrategy.Builder. customActions
private Action
RolloverDescriptionImpl. synchronous
Action to be completed after close of current active log file before returning control to caller.Fields in org.apache.logging.log4j.core.appender.rolling with type parameters of type Action Modifier and Type Field Description private java.util.List<Action>
DefaultRolloverStrategy. customActions
private java.util.List<Action>
DirectWriteRolloverStrategy. customActions
Methods in org.apache.logging.log4j.core.appender.rolling that return Action Modifier and Type Method Description (package private) abstract Action
FileExtension. createCompressAction(java.lang.String renameTo, java.lang.String compressedName, boolean deleteSource, int compressionLevel)
Action
RolloverDescription. getAsynchronous()
Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.Action
RolloverDescriptionImpl. getAsynchronous()
Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.Action[]
DefaultRolloverStrategy.Builder. getCustomActions()
Action[]
DirectWriteRolloverStrategy.Builder. getCustomActions()
Action
RolloverDescription. getSynchronous()
Action to be completed after close of current active log file before returning control to caller.Action
RolloverDescriptionImpl. getSynchronous()
Action to be completed after close of current active log file before returning control to caller.protected Action
AbstractRolloverStrategy. merge(Action compressAction, java.util.List<Action> custom, boolean stopOnError)
Methods in org.apache.logging.log4j.core.appender.rolling that return types with arguments of type Action Modifier and Type Method Description java.util.List<Action>
DefaultRolloverStrategy. getCustomActions()
java.util.List<Action>
DirectWriteRolloverStrategy. getCustomActions()
Methods in org.apache.logging.log4j.core.appender.rolling with parameters of type Action Modifier and Type Method Description static DefaultRolloverStrategy
DefaultRolloverStrategy. createStrategy(java.lang.String max, java.lang.String min, java.lang.String fileIndex, java.lang.String compressionLevelStr, Action[] customActions, boolean stopCustomActionsOnError, Configuration config)
Deprecated.Since 2.9 Usage of Builder API is preferablestatic DirectWriteRolloverStrategy
DirectWriteRolloverStrategy. createStrategy(java.lang.String maxFiles, java.lang.String compressionLevelStr, Action[] customActions, boolean stopCustomActionsOnError, Configuration config)
Deprecated.Since 2.9 Usage of Builder API is preferableprotected Action
AbstractRolloverStrategy. merge(Action compressAction, java.util.List<Action> custom, boolean stopOnError)
DefaultRolloverStrategy.Builder
DefaultRolloverStrategy.Builder. withCustomActions(Action[] customActions)
Defines custom actions.DirectWriteRolloverStrategy.Builder
DirectWriteRolloverStrategy.Builder. withCustomActions(Action[] customActions)
Defines custom actions.Method parameters in org.apache.logging.log4j.core.appender.rolling with type arguments of type Action Modifier and Type Method Description protected Action
AbstractRolloverStrategy. merge(Action compressAction, java.util.List<Action> custom, boolean stopOnError)
Constructors in org.apache.logging.log4j.core.appender.rolling with parameters of type Action Constructor Description AsyncAction(Action act, RollingFileManager manager)
Constructor.DefaultRolloverStrategy(int minIndex, int maxIndex, boolean useMax, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError)
Deprecated.Since 2.9 Added tempCompressedFilePatternString parameterDefaultRolloverStrategy(int minIndex, int maxIndex, boolean useMax, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError, java.lang.String tempCompressedFilePatternString)
Constructs a new instance.DirectWriteRolloverStrategy(int maxFiles, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError)
Deprecated.Since 2.9 Added tempCompressedFilePatternString parameterDirectWriteRolloverStrategy(int maxFiles, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError, java.lang.String tempCompressedFilePatternString)
Constructs a new instance.RolloverDescriptionImpl(java.lang.String activeFileName, boolean append, Action synchronous, Action asynchronous)
Create new instance. -
Uses of Action in org.apache.logging.log4j.core.appender.rolling.action
Classes in org.apache.logging.log4j.core.appender.rolling.action that implement Action Modifier and Type Class Description class
AbstractAction
Abstract base class for implementations of Action.class
AbstractPathAction
Abstract action for processing files that are accepted by the specified PathFilters.class
CommonsCompressAction
Compresses a file using bzip2 compression.class
CompositeAction
A group of Actions to be executed in sequence.class
DeleteAction
Rollover or scheduled action for deleting old log files that are accepted by the specified PathFilters.class
FileRenameAction
File rename action.class
GzCompressAction
Compresses a file using GZ compression.class
PosixViewAttributeAction
File posix attribute view action.class
ZipCompressAction
Compresses a file using Zip compression.Fields in org.apache.logging.log4j.core.appender.rolling.action declared as Action Modifier and Type Field Description private Action[]
CompositeAction. actions
Actions to perform.Methods in org.apache.logging.log4j.core.appender.rolling.action that return Action Modifier and Type Method Description Action[]
CompositeAction. getActions()
Constructor parameters in org.apache.logging.log4j.core.appender.rolling.action with type arguments of type Action Constructor Description CompositeAction(java.util.List<Action> actions, boolean stopOnError)
Construct a new composite action.
-