Interface EntryCacheCfgClient
- All Superinterfaces:
ConfigurationClient
- All Known Subinterfaces:
FifoEntryCacheCfgClient
,SoftReferenceEntryCacheCfgClient
A client-side interface for reading and modifying 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 TypeMethodDescriptionManagedObjectDefinition<? extends EntryCacheCfgClient,
? extends EntryCacheCfg> Get the configuration definition associated with this Entry Cache.Gets the "cache-level" property.Gets the "java-class" property.Gets the "enabled" property.void
setCacheLevel
(ValueOrExpression<Integer> value) Sets the "cache-level" property.void
setEnabled
(ValueOrExpression<Boolean> value) Sets the "enabled" property.void
setJavaClass
(ValueOrExpression<String> value) Sets the "java-class" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Method Details
-
definition
ManagedObjectDefinition<? extends EntryCacheCfgClient,? extends EntryCacheCfg> definition()Get the configuration definition associated with this Entry Cache.- Specified by:
definition
in interfaceConfigurationClient
- Returns:
- Returns the configuration definition associated with this Entry Cache.
-
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.
-
setCacheLevel
Sets the "cache-level" property.Specifies the cache level in the cache order if more than one instance of the cache is configured.
- Parameters:
value
- The value of the "cache-level" property.- Throws:
PropertyException
- If the new value is invalid.
-
isEnabled
Gets the "enabled" property.Indicates whether the Entry Cache is enabled.
- Returns:
- Returns the value of the "enabled" property.
-
setEnabled
Sets the "enabled" property.Indicates whether the Entry Cache is enabled.
- Parameters:
value
- The value of the "enabled" property.- Throws:
PropertyException
- If the new value is invalid.
-
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.
-
setJavaClass
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Entry Cache implementation.
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-