Uses of Interface
org.apache.logging.log4j.core.appender.rolling.action.Action
Packages that use Action
Package
Description
Rolling File Appender and support classes.
Support classes for the Rolling File Appender.
-
Uses of Action in org.apache.logging.log4j.core.appender.rolling
Methods in org.apache.logging.log4j.core.appender.rolling that return ActionModifier and TypeMethodDescriptionRolloverDescription.getAsynchronous()Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.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()RolloverDescription.getSynchronous()Action to be completed after close of current active log file before returning control to caller.RolloverDescriptionImpl.getSynchronous()Action to be completed after close of current active log file before returning control to caller.protected ActionMethods in org.apache.logging.log4j.core.appender.rolling that return types with arguments of type ActionModifier and TypeMethodDescriptionDefaultRolloverStrategy.getCustomActions()DirectWriteRolloverStrategy.getCustomActions()Methods in org.apache.logging.log4j.core.appender.rolling with parameters of type ActionModifier and TypeMethodDescriptionstatic DefaultRolloverStrategyDefaultRolloverStrategy.createStrategy(String max, String min, String fileIndex, String compressionLevelStr, Action[] customActions, boolean stopCustomActionsOnError, Configuration config) Deprecated.Since 2.9 Usage of Builder API is preferablestatic DirectWriteRolloverStrategyDirectWriteRolloverStrategy.createStrategy(String maxFiles, String compressionLevelStr, Action[] customActions, boolean stopCustomActionsOnError, Configuration config) Deprecated.Since 2.9 Usage of Builder API is preferableprotected ActionDefaultRolloverStrategy.Builder.withCustomActions(Action[] customActions) Defines custom actions.DirectWriteRolloverStrategy.Builder.withCustomActions(Action[] customActions) Defines custom actions.Method parameters in org.apache.logging.log4j.core.appender.rolling with type arguments of type ActionConstructors in org.apache.logging.log4j.core.appender.rolling with parameters of type ActionModifierConstructorDescriptionprotectedDefaultRolloverStrategy(int minIndex, int maxIndex, boolean useMax, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError) Deprecated.Since 2.9 Added tempCompressedFilePatternString parameterprotectedDefaultRolloverStrategy(int minIndex, int maxIndex, boolean useMax, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError, String tempCompressedFilePatternString) Constructs a new instance.protectedDirectWriteRolloverStrategy(int maxFiles, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError) Deprecated.Since 2.9 Added tempCompressedFilePatternString parameterprotectedDirectWriteRolloverStrategy(int maxFiles, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError, String tempCompressedFilePatternString) Constructs a new instance.RolloverDescriptionImpl(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 ActionModifier and TypeClassDescriptionclassAbstract base class for implementations of Action.classAbstract action for processing files that are accepted by the specified PathFilters.final classCompresses a file using bzip2 compression.classA group of Actions to be executed in sequence.classRollover or scheduled action for deleting old log files that are accepted by the specified PathFilters.classFile rename action.final classCompresses a file using GZ compression.classFile POSIX attribute view action.final classCompresses a file using Zip compression.Methods in org.apache.logging.log4j.core.appender.rolling.action that return ActionConstructor parameters in org.apache.logging.log4j.core.appender.rolling.action with type arguments of type ActionModifierConstructorDescriptionCompositeAction(List<Action> actions, boolean stopOnError) Construct a new composite action.