public interface SoftReferenceEntryCacheCfg extends EntryCacheCfg
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 |
---|---|
void |
addSoftReferenceChangeListener(ConfigurationChangeListener<SoftReferenceEntryCacheCfg> listener)
Register to be notified when this Soft Reference Entry Cache is changed.
|
Class<? extends SoftReferenceEntryCacheCfg> |
configurationClass()
Gets the configuration class 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 |
removeSoftReferenceChangeListener(ConfigurationChangeListener<SoftReferenceEntryCacheCfg> listener)
Deregister an existing Soft Reference Entry Cache configuration change listener.
|
addChangeListener, getCacheLevel, isEnabled, removeChangeListener
dn, name
Class<? extends SoftReferenceEntryCacheCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface EntryCacheCfg
void addSoftReferenceChangeListener(ConfigurationChangeListener<SoftReferenceEntryCacheCfg> listener)
listener
- The Soft Reference Entry Cache configuration change listener.void removeSoftReferenceChangeListener(ConfigurationChangeListener<SoftReferenceEntryCacheCfg> listener)
listener
- The Soft Reference Entry Cache configuration change listener.SortedSet<String> getExcludeFilter()
The set of filters that define the entries that should be excluded from the cache.
SortedSet<String> getIncludeFilter()
The set of filters that define the entries that should be included in the cache.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Soft Reference Entry Cache implementation.
getJavaClass
in interface EntryCacheCfg
long getLockTimeout()
Specifies the length of time in milliseconds to wait while attempting to acquire a read or write lock.
Copyright 2010-2018 ForgeRock AS.