Package org.apache.logging.log4j.core.util

Log4j 2 helper classes.


Interface Summary
Builder<T> A type of Plugin builder that can be used to configure and create a plugin instance using a Java DSL instead of through a configuration file.
Cancellable Interface to cancel a Runnable callback.
Clock Provides the time stamp used in log events.
SecretKeyProvider Factory class to provide a SecretKey instance.
ShutdownCallbackRegistry Registry used for Runnable shutdown callback instances.

Class Summary
Assert Utility class providing common validation logic.
Booleans Boolean helpers.
CachedClock Implementation of the Clock interface that tracks the time in a private long field that is updated by a background thread once every millisecond.
ClockFactory Factory for Clock objects.
Closer Helper class for closing resources.
CoarseCachedClock This Clock implementation is similar to CachedClock.
Constants Log4j Constants.
CyclicBuffer<T> A bounded buffer containing elements of type T.
DefaultShutdownCallbackRegistry ShutdownRegistrationStrategy that simply uses Runtime.addShutdownHook(Thread).
FileUtils File utilities.
Integers Helps deal with integers.
JndiCloser Helper class for closing JNDI resources.
KeyValuePair Key/Value pair configuration item.
Loader Load resources (or images) from various sources.
NullOutputStream Writes all data to the famous /dev/null.
OptionConverter A convenience class to convert property values to specific types.
Patterns Pattern strings used throughout Log4j.
ReflectionUtil Utility class for performing common reflective operations.
SystemClock Implementation of the Clock interface that returns the system time.
Throwables Helps with Throwable objects.
Transform Utility class for transforming strings.
TypeUtil Utility class for working with Java Types and derivatives.
UuidUtil Generates a unique ID.

Package org.apache.logging.log4j.core.util Description

Log4j 2 helper classes.

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.