Class DefaultCacheKey


  • public class DefaultCacheKey
    extends Object
    A default cache key is used by the annotations caching API when a no-args method annotated with CacheResult or CacheInvalidate is invoked. This class can also be used with the programmatic caching API.
    • Constructor Detail

      • DefaultCacheKey

        public DefaultCacheKey​(String cacheName)
        Constructor.
        Parameters:
        cacheName - cache name
        Throws:
        NullPointerException - if the cache name is null