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<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.
|
ValueOrExpression<Integer> |
getMaxEntries()
Gets the "max-entries" property.
|
ValueOrExpression<Integer> |
getMaxMemoryPercent()
Gets the "max-memory-percent" 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.
|
void |
setMaxEntries(ValueOrExpression<Integer> value)
Sets the "max-entries" property.
|
void |
setMaxMemoryPercent(ValueOrExpression<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<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 FIFO 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 FIFO 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 to wait while attempting to acquire a read or write lock.
void setLockTimeout(ValueOrExpression<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.ValueOrExpression<Integer> getMaxEntries()
Specifies the maximum number of entries that we will allow in the cache.
void setMaxEntries(ValueOrExpression<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.ValueOrExpression<Integer> 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(ValueOrExpression<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-2018 ForgeRock AS.