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
Classes in org.apache.logging.log4j.core.appender.rolling that implement ActionModifier and TypeClassDescriptionprivate static classPerforms actions asynchronously.Fields in org.apache.logging.log4j.core.appender.rolling declared as ActionModifier and TypeFieldDescriptionprivate final ActionRollingFileManager.AsyncAction.actionprivate final ActionRolloverDescriptionImpl.asynchronousAction to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.private Action[]DefaultRolloverStrategy.Builder.customActionsprivate Action[]DirectWriteRolloverStrategy.Builder.customActionsprivate final ActionRolloverDescriptionImpl.synchronousAction 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 ActionModifier and TypeFieldDescriptionDefaultRolloverStrategy.customActionsDirectWriteRolloverStrategy.customActionsMethods in org.apache.logging.log4j.core.appender.rolling that return ActionModifier and TypeMethodDescription(package private) abstract ActionFileExtension.createCompressAction(String renameTo, String compressedName, boolean deleteSource, int compressionLevel) RolloverDescription.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 ActionModifierConstructorDescriptionAsyncAction(Action act, RollingFileManager manager) Constructor.protectedDefaultRolloverStrategy(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.Fields in org.apache.logging.log4j.core.appender.rolling.action declared as ActionModifier and TypeFieldDescriptionprivate final Action[]CompositeAction.actionsActions to perform.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.