Interface MemoryBackendCfg
-
- All Superinterfaces:
BackendCfg,Configuration,LocalBackendCfg
public interface MemoryBackendCfg extends LocalBackendCfg
A server-side interface for querying Memory Backend settings.The Memory Backend provides a directory server backend implementation that stores entries in memory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddMemoryChangeListener(ConfigurationChangeListener<MemoryBackendCfg> listener)Register to be notified when this Memory Backend is changed.Class<? extends MemoryBackendCfg>configurationClass()Gets the configuration class associated with this Memory Backend.StringgetJavaClass()Gets the "java-class" property.LocalBackendCfgDefn.WritabilityModegetWritabilityMode()Gets the "writability-mode" property.voidremoveMemoryChangeListener(ConfigurationChangeListener<MemoryBackendCfg> listener)Deregister an existing Memory Backend configuration change listener.-
Methods inherited from interface org.forgerock.opendj.server.config.server.BackendCfg
addChangeListener, getBackendId, getBaseDN, isEnabled, removeChangeListener
-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Methods inherited from interface org.forgerock.opendj.server.config.server.LocalBackendCfg
addLocalChangeListener, removeLocalChangeListener
-
-
-
-
Method Detail
-
configurationClass
Class<? extends MemoryBackendCfg> configurationClass()
Gets the configuration class associated with this Memory Backend.- Specified by:
configurationClassin interfaceBackendCfg- Specified by:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfaceLocalBackendCfg- Returns:
- Returns the configuration class associated with this Memory Backend.
-
addMemoryChangeListener
void addMemoryChangeListener(ConfigurationChangeListener<MemoryBackendCfg> listener)
Register to be notified when this Memory Backend is changed.- Parameters:
listener- The Memory Backend configuration change listener.
-
removeMemoryChangeListener
void removeMemoryChangeListener(ConfigurationChangeListener<MemoryBackendCfg> listener)
Deregister an existing Memory Backend configuration change listener.- Parameters:
listener- The Memory Backend configuration change listener.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the backend implementation.
- Specified by:
getJavaClassin interfaceBackendCfg- Specified by:
getJavaClassin interfaceLocalBackendCfg- Returns:
- Returns the value of the "java-class" property.
-
getWritabilityMode
LocalBackendCfgDefn.WritabilityMode getWritabilityMode()
Gets the "writability-mode" property.Specifies the behavior that the backend should use when processing write operations.
- Specified by:
getWritabilityModein interfaceLocalBackendCfg- Returns:
- Returns the value of the "writability-mode" property.
-
-