public class EntryContainer extends Object implements SuffixContainer, ConfigurationChangeListener<PluggableBackendCfg>
ATTR_DEBUG_SEARCH_INDEX, DN2ID_INDEX_NAME, DN2URI_INDEX_NAME, ID2CHILDREN_COUNT_NAME, ID2CHILDREN_INDEX_NAME, ID2ENTRY_INDEX_NAME, ID2SUBTREE_INDEX_NAME, REFERRAL_INDEX_NAME, STATE_INDEX_NAME| Modifier and Type | Method and Description |
|---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(PluggableBackendCfg cfg)
Applies the configuration changes to this change listener.
|
void |
clear()
Clear the contents of this entry container.
|
void |
close()
Closes the entry container.
|
org.forgerock.opendj.ldap.DN |
getBaseDN()
Returns the baseDN that this suffix container is responsible for.
|
boolean |
isConfigurationChangeAcceptable(PluggableBackendCfg cfg,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the proposed change to the configuration is
acceptable to this change listener.
|
String |
toString() |
public void close() throws StorageRuntimeException
close in interface Closeableclose in interface AutoCloseableStorageRuntimeException - If an error occurs in the storage.public org.forgerock.opendj.ldap.DN getBaseDN()
SuffixContainergetBaseDN in interface SuffixContainerpublic boolean isConfigurationChangeAcceptable(PluggableBackendCfg cfg, List<LocalizableMessage> unacceptableReasons)
ConfigurationChangeListenerisConfigurationChangeAcceptable in interface ConfigurationChangeListener<PluggableBackendCfg>cfg - The new configuration containing the changes.unacceptableReasons - A list that can be used to hold messages about why the
provided configuration is not acceptable.true if the proposed change is
acceptable, or false if it is not.public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(PluggableBackendCfg cfg)
ConfigurationChangeListenerapplyConfigurationChange in interface ConfigurationChangeListener<PluggableBackendCfg>cfg - The new configuration containing the changes.public void clear() throws StorageRuntimeException
StorageRuntimeException - If an error occurs while removing the entry
container.Copyright © 2010-2018 ForgeRock AS. All Rights Reserved.