public interface EntryCacheCfg extends Configuration
Entry Caches are responsible for caching entries which are likely to be accessed by client applications in order to improve OpenDJ directory server performance.
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ConfigurationChangeListener<EntryCacheCfg> listener)
Register to be notified when this Entry Cache is changed.
|
Class<? extends EntryCacheCfg> |
configurationClass()
Gets the configuration class associated with this Entry Cache.
|
int |
getCacheLevel()
Gets the "cache-level" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
boolean |
isEnabled()
Gets the "enabled" property.
|
void |
removeChangeListener(ConfigurationChangeListener<EntryCacheCfg> listener)
Deregister an existing Entry Cache configuration change listener.
|
dn, name
Class<? extends EntryCacheCfg> configurationClass()
configurationClass
in interface Configuration
void addChangeListener(ConfigurationChangeListener<EntryCacheCfg> listener)
listener
- The Entry Cache configuration change listener.void removeChangeListener(ConfigurationChangeListener<EntryCacheCfg> listener)
listener
- The Entry Cache configuration change listener.int getCacheLevel()
Specifies the cache level in the cache order if more than one instance of the cache is configured.
boolean isEnabled()
Indicates whether the Entry Cache is enabled.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Entry Cache implementation.
Copyright 2010-2020 ForgeRock AS.