Class IDMappingExtCacheDMAPImpl

java.lang.Object
com.tivoli.am.fim.trustserver.sts.utilities.IDMappingExtCacheDMAPImpl
All Implemented Interfaces:
IDMappingExtCache

public class IDMappingExtCacheDMAPImpl extends Object implements IDMappingExtCache
  • Field Details

    • IDMappingExtCacheDMAPImpl_java_sourceCodeID

      public static final String IDMappingExtCacheDMAPImpl_java_sourceCodeID
      See Also:
    • CACHE_NAME

      public static String CACHE_NAME
    • MAP_INSTANCE

      public static String MAP_INSTANCE
  • Method Details

    • get

      public String get(String lookupKey)
      Description copied from interface: IDMappingExtCache
      Returns an entry for the given lookup key that was previously stored in our cache.
      Specified by:
      get in interface IDMappingExtCache
      Parameters:
      lookupKey -
      Returns:
      The stored entry, or null if there is no current valid entry for the given lookupKey.
    • put

      public void put(String lookupKey, String entry, int lifetime)
      Description copied from interface: IDMappingExtCache
      Stores an association for a given state id in a cache.
      Specified by:
      put in interface IDMappingExtCache
      Parameters:
      lookupKey - - The key that will be later used to lookup the entry. The max key length is 109 characters.
      entry - - The entry to store in a cache. The maximum length of entry is specific to the database being used.
      lifetime - - The length of time we should store the association in seconds
    • getAndRemove

      public String getAndRemove(String lookupKey)
      Description copied from interface: IDMappingExtCache
      Returns an entry that was previously stored in our cache. The given lookupKey is used to find the entry. The entry is removed from the cache. If the entry does not exist this will return null.
      Specified by:
      getAndRemove in interface IDMappingExtCache
      Parameters:
      lookupKey -
      Returns:
      The stored entry, or null if there is no current valid entry for the given lookupKey.
    • exists

      public boolean exists(String lookupKey)
      Description copied from interface: IDMappingExtCache
      Returns true if the lookup key exists in the cache, otherwise returns false.
      Specified by:
      exists in interface IDMappingExtCache
      Parameters:
      lookupKey -
      Returns:
    • clearAll

      public boolean clearAll()
      Returns: