public interface FIFOEntryCacheCfgClient extends EntryCacheCfgClient
FIFO Entry Caches use a FIFO queue to keep track of the cached entries.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends FIFOEntryCacheCfgClient,? extends FIFOEntryCacheCfg> |
definition()
Get the configuration definition associated with this FIFO 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.
|
int |
getMaxEntries()
Gets the "max-entries" property.
|
int |
getMaxMemoryPercent()
Gets the "max-memory-percent" 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.
|
void |
setMaxEntries(Integer value)
Sets the "max-entries" property.
|
void |
setMaxMemoryPercent(Integer value)
Sets the "max-memory-percent" property.
|
getCacheLevel, isEnabled, setCacheLevel, setEnabled
commit, properties
ManagedObjectDefinition<? extends FIFOEntryCacheCfgClient,? extends FIFOEntryCacheCfg> definition()
definition
in interface ConfigurationClient
definition
in interface EntryCacheCfgClient
SortedSet<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 FIFO Entry Cache implementation.
getJavaClass
in interface EntryCacheCfgClient
void setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the FIFO Entry Cache implementation.
setJavaClass
in interface EntryCacheCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.long getLockTimeout()
Specifies the length of time to wait while attempting to acquire a read or write lock.
void setLockTimeout(Long value) throws PropertyException
Specifies the length of time 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.int getMaxEntries()
Specifies the maximum number of entries that we will allow in the cache.
void setMaxEntries(Integer value) throws PropertyException
Specifies the maximum number of entries that we will allow in the cache.
value
- The value of the "max-entries" property.PropertyException
- If the new value is invalid.int getMaxMemoryPercent()
Specifies the maximum percentage of JVM memory used by the server before the entry caches stops caching and begins purging itself.
Very low settings such as 10 or 20 (percent) can prevent this entry cache from having enough space to hold any of the entries to cache, making it appear that the server is ignoring or skipping the entry cache entirely.
void setMaxMemoryPercent(Integer value) throws PropertyException
Specifies the maximum percentage of JVM memory used by the server before the entry caches stops caching and begins purging itself.
Very low settings such as 10 or 20 (percent) can prevent this entry cache from having enough space to hold any of the entries to cache, making it appear that the server is ignoring or skipping the entry cache entirely.
value
- The value of the "max-memory-percent" property.PropertyException
- If the new value is invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.