mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jdemendi
02.29.2007 bff247202b2e096249150884a93601b19e836c9a
opends/src/server/org/opends/server/api/EntryCache.java
@@ -31,12 +31,12 @@
import java.util.List;
import java.util.concurrent.locks.Lock;
import org.opends.server.config.ConfigEntry;
import org.opends.server.config.ConfigException;
import org.opends.server.types.DN;
import org.opends.server.types.Entry;
import org.opends.server.types.InitializationException;
import org.opends.server.types.LockType;
import org.opends.server.admin.std.server.EntryCacheCfg;
@@ -62,15 +62,19 @@
 *       the behavior of the default cache that will be used if none
 *       is configured).</LI>
 * </UL>
 *
 * @param  <T>  The type of configuration handled by this entry
 *              cache.
 */
public abstract class EntryCache
       <T extends EntryCacheCfg>
{
  /**
   * Initializes this entry cache implementation so that it will be
   * available for storing and retrieving entries.
   *
   * @param  configEntry  The configuration entry containing the
   *                      settings to use for this entry cache.
   * @param  configuration  The configuration to use to initialize
   *                        the entry cache.
   *
   * @throws  ConfigException  If there is a problem with the provided
   *                           configuration entry that would prevent
@@ -81,7 +85,7 @@
   *                                   not related to the
   *                                   configuration.
   */
  public abstract void initializeEntryCache(ConfigEntry configEntry)
  public abstract void initializeEntryCache(T configuration)
         throws ConfigException, InitializationException;