Package | Description |
---|---|
org.apache.commons.configuration2 |
The Configuration main package.
|
org.apache.commons.configuration2.builder |
This package contains the implementations of configuration builder
classes used to create new
Configuration objects. |
org.apache.commons.configuration2.sync |
A package containing interfaces and classes related to synchronization of
configurations.
|
Modifier and Type | Method and Description |
---|---|
static Synchronizer |
ConfigurationUtils.cloneSynchronizer(Synchronizer sync)
Creates a clone of the specified
Synchronizer . |
Synchronizer |
AbstractConfiguration.getSynchronizer()
Returns the object responsible for synchronizing this configuration.
|
Modifier and Type | Method and Description |
---|---|
static Synchronizer |
ConfigurationUtils.cloneSynchronizer(Synchronizer sync)
Creates a clone of the specified
Synchronizer . |
void |
AbstractConfiguration.setSynchronizer(Synchronizer synchronizer)
Sets the object responsible for synchronizing this configuration.
|
Modifier and Type | Method and Description |
---|---|
BasicBuilderParameters |
BasicBuilderParameters.setSynchronizer(Synchronizer sync)
Sets the
Synchronizer object for this configuration. |
T |
BasicBuilderProperties.setSynchronizer(Synchronizer sync)
Sets the
Synchronizer object for this configuration. |
Modifier and Type | Class and Description |
---|---|
class |
NoOpSynchronizer
An implementation of the
Synchronizer interface which does not
perform any synchronization. |
class |
ReadWriteSynchronizer
A special implementation of
Synchronizer based on the JDK's
ReentrantReadWriteLock class. |
Modifier and Type | Method and Description |
---|---|
Synchronizer |
SynchronizerSupport.getSynchronizer()
Returns the
Synchronizer used by this object. |
Modifier and Type | Method and Description |
---|---|
void |
SynchronizerSupport.setSynchronizer(Synchronizer sync)
Sets the
Synchronizer to be used by this object. |
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.