Class SpringCacheConfigurationFactory

java.lang.Object
io.github.astrapi69.spring.cache.factory.SpringCacheConfigurationFactory

public final class SpringCacheConfigurationFactory extends Object
A factory class for creating cache configuration objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.springframework.cache.CacheManager
    newCacheManager(org.springframework.cache.CacheManager... cacheCacheManager)
    Factory method for create the new composite CacheManager from the given CacheManager's.
    static org.springframework.cache.interceptor.CacheErrorHandler
    Factory method for create the new SimpleCacheErrorHandler object.
    static org.springframework.cache.interceptor.CacheResolver
    Factory method for create the new SimpleCacheResolver object.
    static org.springframework.cache.interceptor.KeyGenerator
    Factory method for create the new SimpleKeyGenerator object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • newCacheManager

      public static org.springframework.cache.CacheManager newCacheManager(org.springframework.cache.CacheManager... cacheCacheManager)
      Factory method for create the new composite CacheManager from the given CacheManager's.
      Parameters:
      cacheCacheManager - the cache cache manager
      Returns:
      the new CacheManager
    • newSimpleKeyGenerator

      public static org.springframework.cache.interceptor.KeyGenerator newSimpleKeyGenerator()
      Factory method for create the new SimpleKeyGenerator object.
      Returns:
      the new SimpleKeyGenerator
    • newSimpleCacheResolver

      public static org.springframework.cache.interceptor.CacheResolver newSimpleCacheResolver()
      Factory method for create the new SimpleCacheResolver object.
      Returns:
      the new SimpleCacheResolver
    • newSimpleCacheErrorHandler

      public static org.springframework.cache.interceptor.CacheErrorHandler newSimpleCacheErrorHandler()
      Factory method for create the new SimpleCacheErrorHandler object.
      Returns:
      the new SimpleCacheErrorHandler