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<String> |
getExcludeFilter()
Gets the "exclude-filter" property.
|
SortedSet<String> |
getIncludeFilter()
Gets the "include-filter" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
long |
getLockTimeout()
Gets the "lock-timeout" property.
|
void |
setExcludeFilter(Collection<String> values)
Sets the "exclude-filter" property.
|
void |
setIncludeFilter(Collection<String> values)
Sets the "include-filter" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setLockTimeout(Long value)
Sets the "lock-timeout" property.
|
getCacheLevel, isEnabled, setCacheLevel, setEnabledcommit, propertiesManagedObjectDefinition<? extends SoftReferenceEntryCacheCfgClient,? extends SoftReferenceEntryCacheCfg> definition()
definition in interface ConfigurationClientdefinition in interface EntryCacheCfgClientSortedSet<String> getExcludeFilter()
The set of filters that define the entries that should be excluded from the cache.
void setExcludeFilter(Collection<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<String> getIncludeFilter()
The set of filters that define the entries that should be included in the cache.
void setIncludeFilter(Collection<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.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Soft Reference Entry Cache implementation.
getJavaClass in interface EntryCacheCfgClientvoid setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the Soft Reference Entry Cache implementation.
setJavaClass in interface EntryCacheCfgClientvalue - The value of the "java-class" property.PropertyException - If the new value is invalid.long getLockTimeout()
Specifies the length of time in milliseconds to wait while attempting to acquire a read or write lock.
void setLockTimeout(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 © 2011-2015 ForgeRock AS. All Rights Reserved.