Package | Description |
---|---|
org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.
|
org.apache.logging.log4j.core.util |
Log4j 2 helper classes.
|
Modifier and Type | Class and Description |
---|---|
class |
LoggerContext
The LoggerContext is the anchor for the logging system.
|
Modifier and Type | Class and Description |
---|---|
class |
AsyncLoggerContext
LoggerContext that creates AsyncLogger objects. |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ConfigurationListener> |
AbstractConfiguration.listeners
Listeners for configuration changes.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractConfiguration.addListener(ConfigurationListener listener)
Add a listener for changes on the configuration.
|
void |
Configuration.addListener(ConfigurationListener listener) |
void |
AbstractConfiguration.removeListener(ConfigurationListener listener)
Remove a ConfigurationListener.
|
void |
Configuration.removeListener(ConfigurationListener listener) |
Modifier and Type | Method and Description |
---|---|
Watcher |
HttpWatcher.newWatcher(Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> listeners,
long lastModifiedMillis) |
Watcher |
ConfigurationFileWatcher.newWatcher(Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> listeners,
long lastModifiedMillis) |
Constructor and Description |
---|
ConfigurationFileWatcher(Configuration configuration,
Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |
HttpWatcher(Configuration configuration,
Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |
Modifier and Type | Field and Description |
---|---|
private ConfigurationListener |
AbstractWatcher.ReconfigurationRunnable.configurationListener |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ConfigurationListener> |
AbstractWatcher.configurationListeners |
Modifier and Type | Method and Description |
---|---|
java.util.List<ConfigurationListener> |
WrappedFileWatcher.getListeners() |
java.util.List<ConfigurationListener> |
AbstractWatcher.getListeners() |
java.util.List<ConfigurationListener> |
Watcher.getListeners()
Returns the list of listeners for this configuration.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Watcher> |
WatcherFactory.instantiate(java.lang.String name,
java.lang.Class<T> clazz,
Configuration configuration,
Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> listeners,
long lastModifiedMillis) |
Watcher |
WrappedFileWatcher.newWatcher(Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> listeners,
long lastModifiedMillis) |
Watcher |
Watcher.newWatcher(Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> listeners,
long lastModifiedMillis)
Creates a new Watcher by copying the original and using the new Reconfigurable and listeners.
|
Watcher |
WatcherFactory.newWatcher(Source source,
Configuration configuration,
Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |
Constructor and Description |
---|
ReconfigurationRunnable(ConfigurationListener configurationListener,
Reconfigurable reconfigurable) |
Constructor and Description |
---|
AbstractWatcher(Configuration configuration,
Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> configurationListeners) |
WrappedFileWatcher(FileWatcher watcher,
Configuration configuration,
Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |