public interface SoftReferenceEntryCacheCfgClient extends EntryCacheCfgClient
The Soft Reference Entry Cache is a directory server entry cache implementation that uses soft references to manage objects to allow them to be freed if the JVM is running low on memory.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends SoftReferenceEntryCacheCfgClient,? extends SoftReferenceEntryCacheCfg> |
definition()
Get the configuration definition associated with this Soft Reference Entry Cache.
|
SortedSet<ValueOrExpression<String>> |
getExcludeFilter()
Gets the "exclude-filter" property.
|
SortedSet<ValueOrExpression<String>> |
getIncludeFilter()
Gets the "include-filter" property.
|
ValueOrExpression<String> |
getJavaClass()
Gets the "java-class" property.
|
ValueOrExpression<Long> |
getLockTimeout()
Gets the "lock-timeout" property.
|
void |
setExcludeFilter(Collection<ValueOrExpression<String>> values)
Sets the "exclude-filter" property.
|
void |
setIncludeFilter(Collection<ValueOrExpression<String>> values)
Sets the "include-filter" property.
|
void |
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.
|
void |
setLockTimeout(ValueOrExpression<Long> value)
Sets the "lock-timeout" property.
|
getCacheLevel, isEnabled, setCacheLevel, setEnabled
commit, properties
ManagedObjectDefinition<? extends SoftReferenceEntryCacheCfgClient,? extends SoftReferenceEntryCacheCfg> definition()
definition
in interface ConfigurationClient
definition
in interface EntryCacheCfgClient
SortedSet<ValueOrExpression<String>> getExcludeFilter()
The set of filters that define the entries that should be excluded from the cache.
void setExcludeFilter(Collection<ValueOrExpression<String>> values) throws PropertyException
The set of filters that define the entries that should be excluded from the cache.
values
- The values of the "exclude-filter" property.PropertyException
- If one or more of the new values are invalid.SortedSet<ValueOrExpression<String>> getIncludeFilter()
The set of filters that define the entries that should be included in the cache.
void setIncludeFilter(Collection<ValueOrExpression<String>> values) throws PropertyException
The set of filters that define the entries that should be included in the cache.
values
- The values of the "include-filter" property.PropertyException
- If one or more of the new values are invalid.ValueOrExpression<String> getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Soft Reference Entry Cache implementation.
getJavaClass
in interface EntryCacheCfgClient
void setJavaClass(ValueOrExpression<String> value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the Soft Reference Entry Cache implementation.
setJavaClass
in interface EntryCacheCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.ValueOrExpression<Long> getLockTimeout()
Specifies the length of time in milliseconds to wait while attempting to acquire a read or write lock.
void setLockTimeout(ValueOrExpression<Long> value) throws PropertyException
Specifies the length of time in milliseconds to wait while attempting to acquire a read or write lock.
value
- The value of the "lock-timeout" property.PropertyException
- If the new value is invalid.Copyright 2010-2018 ForgeRock AS.