org.opends.server.admin.std.server
Interface MemoryBackendCfg

All Superinterfaces:
BackendCfg, Configuration

public interface MemoryBackendCfg
extends BackendCfg

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
 void addMemoryChangeListener(ConfigurationChangeListener<MemoryBackendCfg> listener)
          Register to be notified when this Memory Backend is changed.
 java.lang.Class<? extends MemoryBackendCfg> configurationClass()
          Gets the configuration class associated with this Memory Backend.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 BackendCfgDefn.WritabilityMode getWritabilityMode()
          Gets the "writability-mode" property.
 void removeMemoryChangeListener(ConfigurationChangeListener<MemoryBackendCfg> listener)
          Deregister an existing Memory Backend configuration change listener.
 
Methods inherited from interface org.opends.server.admin.std.server.BackendCfg
addChangeListener, getBackendId, getBaseDN, isEnabled, removeChangeListener
 
Methods inherited from interface org.opends.server.admin.Configuration
dn
 

Method Detail

configurationClass

java.lang.Class<? extends MemoryBackendCfg> configurationClass()
Gets the configuration class associated with this Memory Backend.

Specified by:
configurationClass in interface BackendCfg
Specified by:
configurationClass in interface Configuration
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

java.lang.String getJavaClass()
Gets the "java-class" property.

Specifies the fully-qualified name of the Java class that provides the backend implementation.

Specified by:
getJavaClass in interface BackendCfg
Returns:
Returns the value of the "java-class" property.

getWritabilityMode

BackendCfgDefn.WritabilityMode getWritabilityMode()
Gets the "writability-mode" property.

Specifies the behavior that the backend should use when processing write operations.

Specified by:
getWritabilityMode in interface BackendCfg
Returns:
Returns the value of the "writability-mode" property.