Interface KeyStoreObjectCache

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static KeyStoreObjectCache NONE
      A cache implementation that does not cache anything.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.forgerock.opendj.security.KeyStoreObject get​(String alias)
      Returns the named key store object from the cache if present, or null if the object is not present or has been removed.
      void put​(org.forgerock.opendj.security.KeyStoreObject keyStoreObject)
      Puts a key store object in the cache replacing any existing key store object with the same alias.
    • Field Detail

      • NONE

        static final KeyStoreObjectCache NONE
        A cache implementation that does not cache anything.
    • Method Detail

      • put

        void put​(org.forgerock.opendj.security.KeyStoreObject keyStoreObject)
        Puts a key store object in the cache replacing any existing key store object with the same alias.
        Parameters:
        keyStoreObject - The key store object.
      • get

        org.forgerock.opendj.security.KeyStoreObject get​(String alias)
        Returns the named key store object from the cache if present, or null if the object is not present or has been removed.
        Parameters:
        alias - The alias of the key store object to be retrieved.
        Returns:
        The key store object or null if the object is not present.