Module ch.qos.logback.core
Package ch.qos.logback.core.util
Contains various utility classes.
-
Interface Summary Interface Description DelayStrategy A strategy for computing a delay.InvocationGate ReentryGuard Guard used to prevent re-entrant (recursive) appender invocations on a per-thread basis. -
Class Summary Class Description CachingDateFormatter A CAS implementation of DateTimeFormatter (previously SimpleDateFormat) which caches results for the duration of a millisecond.CloseUtil Static utility method forCloseableobjects.ContentTypeUtil Various utility methods for processing strings representing context types.ContextUtil CoreVersionUtil Utility class for retrieving version information of the "logback-core" module.COWArrayList<E> A GC-free lock-free thread-safe implementation of theListinterface for use cases where iterations over the list vastly out-number modifications on the list.DatePatternToRegexUtil This class is concerned with computing a regex corresponding to a date pattern (inSimpleDateFormatformat).DefaultInvocationGate This class serves as a gateway for invocations of a "costly" operation on a critical execution path.DirectJson This is a utility class for writing json logs.Duration Duration instances represent a lapse of time.EnvUtil ExecutorServiceUtil Static utility methods for manipulating anExecutorService.FileSize Instances of this class represent the size of a file.FileUtil FixedDelay A defaultDelayStrategythat implements a simple fixed delay.InterruptUtil Allows masking of interrupt flag if previously the flag is already set.IntHolder A simple mutable holder for an integer value, providing basic operations like incrementing, setting, and retrieving the value.JNDIUtil A simple utility class to create and use a JNDI Context.Loader Load resources (or images) from various sources.LocationUtil A static utility method that converts a string that describes the location of a resource into aURLobject.MD5Util NetworkAddressUtil OptionHelper ReentryGuard.NOPRentryGuard No-op implementation that never locks.ReentryGuard.ReentryGuardImpl Default per-thread implementation backed by aThreadLocal.ReentryGuardFactory Factory that createsReentryGuardinstances according to a requested type.SimpleInvocationGate An invocation gate using very simple logic.SimpleTimeBasedGuard A simple time-based guard that limits the number of allowed operations within a sliding time window.StatusListenerConfigHelper StatusPrinter Deprecated. replaced byStatusPrinter2StatusPrinter2 Same as StatusPrinter but with instance methods instead of static.StringCollectionUtil Static utility methods for working with collections of strings.StringUtil SystemInfo TimeUtil VersionUtil Utility class for handling and validating version information of various artifacts. -
Enum Summary Enum Description AggregationType AggregationType classifies how one object is contained within another object.ReentryGuardFactory.GuardType Types of guards that can be produced by this factory. -
Exception Summary Exception Description DynamicClassLoadingException IncompatibleClassException PropertySetterException Thrown when an error is encountered whilst attempting to set a property using thePropertySetterutility class.