|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileSystemEntryCacheCfg
A server-side interface for querying File System Entry Cache settings.
The File System Entry Cache is an entry cache implementation which uses a JE database to keep track of the entries.
Method Summary | |
---|---|
void |
addFileSystemChangeListener(ConfigurationChangeListener<FileSystemEntryCacheCfg> listener)
Register to be notified when this File System Entry Cache is changed. |
java.lang.Class<? extends FileSystemEntryCacheCfg> |
configurationClass()
Gets the configuration class associated with this File System Entry Cache. |
java.lang.String |
getCacheDirectory()
Gets the "cache-directory" property. |
FileSystemEntryCacheCfgDefn.CacheType |
getCacheType()
Gets the "cache-type" property. |
int |
getDBCachePercent()
Gets the "db-cache-percent" property. |
long |
getDBCacheSize()
Gets the "db-cache-size" property. |
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. |
java.util.SortedSet<java.lang.String> |
getJEProperty()
Gets the "je-property" property. |
long |
getLockTimeout()
Gets the "lock-timeout" property. |
int |
getMaxEntries()
Gets the "max-entries" property. |
long |
getMaxMemorySize()
Gets the "max-memory-size" property. |
boolean |
isCompactEncoding()
Gets the "compact-encoding" property. |
boolean |
isPersistentCache()
Gets the "persistent-cache" property. |
void |
removeFileSystemChangeListener(ConfigurationChangeListener<FileSystemEntryCacheCfg> listener)
Deregister an existing File System Entry Cache configuration change listener. |
Methods inherited from interface org.opends.server.admin.std.server.EntryCacheCfg |
---|
addChangeListener, getCacheLevel, isEnabled, removeChangeListener |
Methods inherited from interface org.opends.server.admin.Configuration |
---|
dn |
Method Detail |
---|
java.lang.Class<? extends FileSystemEntryCacheCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface EntryCacheCfg
void addFileSystemChangeListener(ConfigurationChangeListener<FileSystemEntryCacheCfg> listener)
listener
- The File System Entry Cache configuration change listener.void removeFileSystemChangeListener(ConfigurationChangeListener<FileSystemEntryCacheCfg> listener)
listener
- The File System Entry Cache configuration change listener.java.lang.String getCacheDirectory()
Specifies the directory in which the JE environment should store the cache.
FileSystemEntryCacheCfgDefn.CacheType getCacheType()
Specifies the policy which should be used for purging entries from the cache.
boolean isCompactEncoding()
Indicates whether the cache should use a compact form when encoding cache entries by compressing the attribute descriptions and object class sets.
Note that compression does not preserve user-supplied capitalization in the object class and attribute type names.
int getDBCachePercent()
Specifies the maximum memory usage for the internal JE cache as a percentage of the total JVM memory.
long getDBCacheSize()
Specifies the maximum JVM memory usage in bytes for the internal JE cache.
java.util.SortedSet<java.lang.String> getExcludeFilter()
The set of filters that define the entries that should be excluded from the cache.
java.util.SortedSet<java.lang.String> getIncludeFilter()
The set of filters that define the entries that should be included in the cache.
java.lang.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the File System Entry Cache implementation.
getJavaClass
in interface EntryCacheCfg
java.util.SortedSet<java.lang.String> getJEProperty()
Specifies the environment properties for the Berkeley DB Java Edition database providing the backend for this entry cache.
Any Berkeley DB Java Edition property can be specified using the following form: property-name=property-value. Refer to the OpenDS documentation for further information on related properties, their implications and range values. The definitive identification of all the property parameters available in the example.properties file in the Berkeley DB Java Edition distribution.
long getLockTimeout()
The length of time to wait while attempting to acquire a read or write lock.
int getMaxEntries()
The maximum number of entries allowed in the cache.
long getMaxMemorySize()
The maximum size of the entry cache in bytes.
boolean isPersistentCache()
Specifies whether the cache should persist across restarts.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |