Class WorkQueueConfigManager

    • Constructor Detail

      • WorkQueueConfigManager

        public WorkQueueConfigManager​(ServerContext serverContext)
        Creates a new instance of this work queue config manager.
        Parameters:
        serverContext - The server context.
    • Method Detail

      • initializeWorkQueue

        public WorkQueue initializeWorkQueue()
                                      throws ConfigException,
                                             InitializationException
        Initializes the Directory Server's work queue. This should only be called at server startup.
        Returns:
        WorkQueue The initialized work queue that should be used by the server.
        Throws:
        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.
      • isConfigurationChangeAcceptable

        public boolean isConfigurationChangeAcceptable​(WorkQueueCfg configuration,
                                                       List<LocalizableMessage> unacceptableReasons)
        Description copied from interface: ConfigurationChangeListener
        Indicates whether the proposed change to the configuration is acceptable to this change listener.
        Specified by:
        isConfigurationChangeAcceptable in interface ConfigurationChangeListener<WorkQueueCfg>
        Parameters:
        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.
        Returns:
        Returns true if the proposed change is acceptable, or false if it is not.