Interface EntryCacheCfg
- All Superinterfaces:
Configuration
- All Known Subinterfaces:
FifoEntryCacheCfg,SoftReferenceEntryCacheCfg
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
Modifier and TypeMethodDescriptionvoidRegister to be notified when this Entry Cache is changed.Class<? extends EntryCacheCfg>Gets the configuration class associated with this Entry Cache.intGets the "cache-level" property.Gets the "java-class" property.booleanGets the "enabled" property.voidDeregister an existing Entry Cache configuration change listener.Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Method Details
-
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
Register to be notified when this Entry Cache is changed.- Parameters:
listener- The Entry Cache configuration change listener.
-
removeChangeListener
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.
-