From d7983b7e6eef579bc5f86cefa6932fecc7aec7bd Mon Sep 17 00:00:00 2001 From: abobrov <abobrov@localhost> Date: Tue, 04 Sep 2007 16:01:28 +0000 Subject: [PATCH] entry cache cleanup: - remove obsolete methods, fields and messages. - aggregate filters evaluation for config phases. - simplify filters evaluation and error reporting. - use a single set of filter messages. --- opends/src/messages/messages/config.properties | 59 ++++------------------------------------------------------- 1 files changed, 4 insertions(+), 55 deletions(-) diff --git a/opends/src/messages/messages/config.properties b/opends/src/messages/messages/config.properties index ad45acc..043c4d9 100644 --- a/opends/src/messages/messages/config.properties +++ b/opends/src/messages/messages/config.properties @@ -695,65 +695,16 @@ error occurred that prevented the server from installing a temporary default \ entry cache for use until the actual cache could be created from the \ configuration: %s -SEVERE_ERR_CONFIG_ENTRYCACHE_CANNOT_GET_CONFIG_ENTRY_201=An unexpected error \ - occurred while attempting to get the "cn=Entry Cache,cn=config" entry, which \ - holds the entry cache configuration: %s. No entry cache will be available -SEVERE_WARN_CONFIG_ENTRYCACHE_NO_CONFIG_ENTRY_202=The entry cache \ +SEVERE_WARN_CONFIG_ENTRYCACHE_NO_CONFIG_ENTRY_201=The entry cache \ configuration entry "cn=Entry Cache,cn=config" does not exist in the \ Directory Server configuration. No entry cache will be available until this \ entry is created with a valid entry cache configuration -SEVERE_ERR_CONFIG_ENTRYCACHE_CANNOT_REGISTER_ADD_LISTENER_203=An error \ - occurred while attempting to register an add listener to watch for the entry \ - cache configuration entry to be created: %s. If an entry cache \ - configuration is added while the server is online, it will not be detected \ - until the server is restarted -SEVERE_ERR_CONFIG_ENTRYCACHE_CANNOT_REGISTER_DELETE_LISTENER_204=An error \ - occurred while attempting to register a delete listener to watch for the \ - entry cache configuration entry to be deleted: %s. If the entry cache \ - configuration entry is deleted while the server is online, it will not be \ - detected until the server is restarted -SEVERE_ERR_CONFIG_ENTRYCACHE_DESCRIPTION_CACHE_ENABLED_205=Indicates whether \ - the Directory Server entry cache should be enabled. If the entry cache is \ - enabled, it may significantly improve performance by allowing \ - previously-accessed entries to be retrieved from memory rather than needing \ - to access the backend repository. Changes to this configuration attribute \ - will take effect immediately, but will have the side effect of clearing the \ - cache contents, which may result in degraded performance for a period of time -SEVERE_ERR_CONFIG_ENTRYCACHE_NO_ENABLED_ATTR_206=Configuration entry \ - "cn=Entry Cache,cn=config" does not contain a value for attribute \ - ds-cfg-entry-cache-enabled, which indicates whether the entry cache is \ - enabled for use in the server. As a result, the cache will be disabled -SEVERE_ERR_CONFIG_ENTRYCACHE_DISABLED_207=The Directory Server entry cache \ - configured in entry "cn=Entry Cache,cn=config" has been disabled. No entry \ - cache will be available within the server -SEVERE_ERR_CONFIG_ENTRYCACHE_UNABLE_TO_DETERMINE_ENABLED_STATE_208=An \ - unexpected error occurred while attempting to determine whether the entry \ - cache configured in entry "cn=Entry Cache,cn=config" is enabled: %s. As a \ - result, the entry cache will be disabled -SEVERE_ERR_CONFIG_ENTRYCACHE_DESCRIPTION_CACHE_CLASS_209=Specifies the \ - fully-qualified name of the Java class that should provide the entry cache \ - implementation. Changes to this configuration attribute will take effect \ - immediately, but will have the side effect of clearing the cache contents, \ - which may result in degraded performance for a period of time -SEVERE_ERR_CONFIG_ENTRYCACHE_NO_CLASS_ATTR_210=Configuration entry "cn=Entry \ - Cache,cn=config" does not contain a value for attribute \ - ds-cfg-entry-cache-class", which specifies the class name for the entry cache \ - implementation. As a result, the entry cache will be disabled -SEVERE_ERR_CONFIG_ENTRYCACHE_CANNOT_DETERMINE_CLASS_211=An unexpected error \ - occurred while attempting to determine the value of the \ - ds-cfg-entry-cache-class attribute in configuration entry "cn=Entry \ - Cache,cn=config": %s. The entry cache will be disabled -SEVERE_ERR_CONFIG_ENTRYCACHE_CANNOT_LOAD_CLASS_212=The class %s defined in \ - attribute ds-cfg-entry-cache-class of configuration entry "cn=Entry \ - Cache,cn=config" could not be loaded: %s. The entry cache will be disabled -SEVERE_ERR_CONFIG_ENTRYCACHE_CANNOT_INSTANTIATE_CLASS_213=The class %s \ - defined in attribute ds-cfg-entry-cache-class of configuration entry \ - "cn=Entry Cache,cn=config" could not be instantiated as a Directory Server \ - entry cache: %s. As a result, the entry cache will be disabled -SEVERE_ERR_CONFIG_ENTRYCACHE_CANNOT_INITIALIZE_CACHE_214=An error occurred \ +SEVERE_ERR_CONFIG_ENTRYCACHE_CANNOT_INITIALIZE_CACHE_202=An error occurred \ while attempting to initialize an instance of class %s for use as the \ Directory Server entry cache: %s. As a result, the entry cache will be \ disabled +SEVERE_ERR_CONFIG_ENTRYCACHE_CONFIG_NOT_ACCEPTABLE_203=The configuration for \ + the entry cache defined in configuration entry %s was not acceptable: %s MILD_ERR_CONFIG_ENTRY_CANNOT_REMOVE_CHILD_215=An unexpected error occurred \ while attempting to remove entry %s as a child of configuration entry %s: %s SEVERE_WARN_CONFIG_SCHEMA_CANNOT_PARSE_NAME_FORM_216=Unable to parse a name \ @@ -2097,8 +2048,6 @@ MILD_ERR_CONFIG_CERTMAPPER_CONFIG_NOT_ACCEPTABLE_684=The configuration for \ the certificate mapper defined in configuration entry %s was not acceptable: \ %s -MILD_ERR_CONFIG_ENTRYCACHE_CONFIG_NOT_ACCEPTABLE_685=The configuration for \ - the entry cache defined in configuration entry %s was not acceptable: %s MILD_ERR_CONFIG_GROUP_CONFIG_NOT_ACCEPTABLE_686=The configuration for the \ group implementation defined in configuration entry %s was not acceptable: \ %s -- Gitblit v1.10.0