Interface CacheFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Cache getCache​(java.lang.ClassLoader classLoader)
      Instantiates an instance of the cache implementation this factory is responsible for using the given classloader.
      java.lang.String getCacheClassName()
      Returns the full class name of the underlying cache implementation.
      java.lang.String getCacheType()
      Returns the short alias cache type for this factory instance.
      void shutdown()
      Allows for cache-specific shutdown operations and resource cleanup.
    • Method Detail

      • getCache

        Cache getCache​(java.lang.ClassLoader classLoader)
                throws CacheAcquireException
        Instantiates an instance of the cache implementation this factory is responsible for using the given classloader.
        Parameters:
        classLoader - A ClassLoader instance.
        Returns:
        A Cache instance.
        Throws:
        CacheAcquireException - Problem instantiating a cache instance.
      • getCacheType

        java.lang.String getCacheType()
        Returns the short alias cache type for this factory instance.
        Returns:
        The short alias cache type.
      • getCacheClassName

        java.lang.String getCacheClassName()
        Returns the full class name of the underlying cache implementation.
        Returns:
        The full cache class name.
      • shutdown

        void shutdown()
        Allows for cache-specific shutdown operations and resource cleanup.