|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FIFOEntryCacheCfgClient
A client-side interface for reading and modifying FIFO Entry Cache settings.
FIFO Entry Caches use a FIFO queue to keep track of the cached entries.
Method Summary | |
---|---|
ManagedObjectDefinition<? extends FIFOEntryCacheCfgClient,? extends FIFOEntryCacheCfg> |
definition()
Get the configuration definition associated with this FIFO Entry Cache. |
java.util.SortedSet<java.lang.String> |
getExcludeFilter()
Gets the "exclude-filter" property. |
java.util.SortedSet<java.lang.String> |
getIncludeFilter()
Gets the "include-filter" property. |
java.lang.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(java.util.Collection<java.lang.String> values)
Sets the "exclude-filter" property. |
void |
setIncludeFilter(java.util.Collection<java.lang.String> values)
Sets the "include-filter" property. |
void |
setJavaClass(java.lang.String value)
Sets the "java-class" property. |
void |
setLockTimeout(java.lang.Long value)
Sets the "lock-timeout" property. |
void |
setMaxEntries(java.lang.Integer value)
Sets the "max-entries" property. |
void |
setMaxMemoryPercent(java.lang.Integer value)
Sets the "max-memory-percent" property. |
Methods inherited from interface org.opends.server.admin.std.client.EntryCacheCfgClient |
---|
getCacheLevel, isEnabled, setCacheLevel, setEnabled |
Methods inherited from interface org.opends.server.admin.ConfigurationClient |
---|
commit, properties |
Method Detail |
---|
ManagedObjectDefinition<? extends FIFOEntryCacheCfgClient,? extends FIFOEntryCacheCfg> definition()
definition
in interface ConfigurationClient
definition
in interface EntryCacheCfgClient
java.util.SortedSet<java.lang.String> getExcludeFilter()
The set of filters that define the entries that should be excluded from the cache.
void setExcludeFilter(java.util.Collection<java.lang.String> values) throws IllegalPropertyValueException
The set of filters that define the entries that should be excluded from the cache.
values
- The values of the "exclude-filter" property.
IllegalPropertyValueException
- If one or more of the new values are invalid.java.util.SortedSet<java.lang.String> getIncludeFilter()
The set of filters that define the entries that should be included in the cache.
void setIncludeFilter(java.util.Collection<java.lang.String> values) throws IllegalPropertyValueException
The set of filters that define the entries that should be included in the cache.
values
- The values of the "include-filter" property.
IllegalPropertyValueException
- If one or more of the new values are invalid.java.lang.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the FIFO Entry Cache implementation.
getJavaClass
in interface EntryCacheCfgClient
void setJavaClass(java.lang.String value) throws IllegalPropertyValueException
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.
IllegalPropertyValueException
- 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(java.lang.Long value) throws IllegalPropertyValueException
Specifies the length of time to wait while attempting to acquire a read or write lock.
value
- The value of the "lock-timeout" property.
IllegalPropertyValueException
- If the new value is invalid.int getMaxEntries()
Specifies the maximum number of entries that we will allow in the cache.
void setMaxEntries(java.lang.Integer value) throws IllegalPropertyValueException
Specifies the maximum number of entries that we will allow in the cache.
value
- The value of the "max-entries" property.
IllegalPropertyValueException
- If the new value is invalid.int getMaxMemoryPercent()
Specifies the maximum memory usage for the entry cache as a percentage of the total JVM memory.
void setMaxMemoryPercent(java.lang.Integer value) throws IllegalPropertyValueException
Specifies the maximum memory usage for the entry cache as a percentage of the total JVM memory.
value
- The value of the "max-memory-percent" property.
IllegalPropertyValueException
- If the new value is invalid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |