|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.core.WorkQueueConfigManager
public class WorkQueueConfigManager
This class defines a utility that will be used to manage the Directory Server work queue.
Constructor Summary | |
---|---|
WorkQueueConfigManager()
Creates a new instance of this work queue config manager. |
Method Summary | |
---|---|
ConfigChangeResult |
applyConfigurationChange(WorkQueueCfg configuration)
Applies the configuration changes to this change listener. |
WorkQueue |
initializeWorkQueue()
Initializes the Directory Server's work queue. |
boolean |
isConfigurationChangeAcceptable(WorkQueueCfg configuration,
java.util.List<Message> unacceptableReasons)
Indicates whether the proposed change to the configuration is acceptable to this change listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkQueueConfigManager()
Method Detail |
---|
public WorkQueue initializeWorkQueue() throws ConfigException, InitializationException
ConfigException
- If a configuration problem causes the work queue
initialization process to fail.
InitializationException
- If a problem occurs while initializing
the work queue that is not related to the
server configuration.public boolean isConfigurationChangeAcceptable(WorkQueueCfg configuration, java.util.List<Message> unacceptableReasons)
isConfigurationChangeAcceptable
in interface ConfigurationChangeListener<WorkQueueCfg>
configuration
- 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 ConfigChangeResult applyConfigurationChange(WorkQueueCfg configuration)
applyConfigurationChange
in interface ConfigurationChangeListener<WorkQueueCfg>
configuration
- The new configuration containing the changes.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |