Interface EntryCacheCfg
-
- All Superinterfaces:
Configuration
- All Known Subinterfaces:
FIFOEntryCacheCfg,SoftReferenceEntryCacheCfg
public interface EntryCacheCfg extends Configuration
A server-side interface for querying Entry Cache settings.Entry Caches are responsible for caching entries which are likely to be accessed by client applications in order to improve OpenDJ directory server performance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddChangeListener(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.intgetCacheLevel()Gets the "cache-level" property.StringgetJavaClass()Gets the "java-class" property.booleanisEnabled()Gets the "enabled" property.voidremoveChangeListener(ConfigurationChangeListener<EntryCacheCfg> listener)Deregister an existing Entry Cache configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
-
-
-
Method Detail
-
configurationClass
Class<? extends EntryCacheCfg> configurationClass()
Gets the configuration class associated with this Entry Cache.- Specified by:
configurationClassin interfaceConfiguration- Returns:
- Returns the configuration class associated with this Entry Cache.
-
addChangeListener
void addChangeListener(ConfigurationChangeListener<EntryCacheCfg> listener)
Register to be notified when this Entry Cache is changed.- Parameters:
listener- The Entry Cache configuration change listener.
-
removeChangeListener
void removeChangeListener(ConfigurationChangeListener<EntryCacheCfg> listener)
Deregister an existing Entry Cache configuration change listener.- Parameters:
listener- The Entry Cache configuration change listener.
-
getCacheLevel
int getCacheLevel()
Gets the "cache-level" property.Specifies the cache level in the cache order if more than one instance of the cache is configured.
- Returns:
- Returns the value of the "cache-level" property.
-
isEnabled
boolean isEnabled()
Gets the "enabled" property.Indicates whether the Entry Cache is enabled.
- Returns:
- Returns the value of the "enabled" property.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Entry Cache implementation.
- Returns:
- Returns the value of the "java-class" property.
-
-