public interface EntryCacheCfgClient extends ConfigurationClient
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 |
---|---|
ManagedObjectDefinition<? extends EntryCacheCfgClient,? extends EntryCacheCfg> |
definition()
Get the configuration definition associated with this Entry Cache.
|
Integer |
getCacheLevel()
Gets the "cache-level" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
Boolean |
isEnabled()
Gets the "enabled" property.
|
void |
setCacheLevel(int value)
Sets the "cache-level" property.
|
void |
setEnabled(boolean value)
Sets the "enabled" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
commit, properties
ManagedObjectDefinition<? extends EntryCacheCfgClient,? extends EntryCacheCfg> definition()
definition
in interface ConfigurationClient
Integer getCacheLevel()
Specifies the cache level in the cache order if more than one instance of the cache is configured.
void setCacheLevel(int value) throws PropertyException
Specifies the cache level in the cache order if more than one instance of the cache is configured.
value
- The value of the "cache-level" property.PropertyException
- If the new value is invalid.Boolean isEnabled()
Indicates whether the Entry Cache is enabled.
void setEnabled(boolean value) throws PropertyException
Indicates whether the Entry Cache is enabled.
value
- The value of the "enabled" property.PropertyException
- If the new value is invalid.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Entry Cache implementation.
void setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the Entry Cache implementation.
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.