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.
|
ValueOrExpression<Integer> |
getCacheLevel()
Gets the "cache-level" property.
|
ValueOrExpression<String> |
getJavaClass()
Gets the "java-class" property.
|
ValueOrExpression<Boolean> |
isEnabled()
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.
|
commit, properties
ManagedObjectDefinition<? extends EntryCacheCfgClient,? extends EntryCacheCfg> definition()
definition
in interface ConfigurationClient
ValueOrExpression<Integer> getCacheLevel()
Specifies the cache level in the cache order if more than one instance of the cache is configured.
void setCacheLevel(ValueOrExpression<Integer> 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.ValueOrExpression<Boolean> isEnabled()
Indicates whether the Entry Cache is enabled.
void setEnabled(ValueOrExpression<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.ValueOrExpression<String> getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Entry Cache implementation.
void setJavaClass(ValueOrExpression<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-2018 ForgeRock AS.