Interface CacheFactory<K extends Serializable,V>

All Known Implementing Classes:
AbstractCacheFactory, DefaultCacheFactory

public interface CacheFactory<K extends Serializable,V>
Cache factory interface. Implementing classes create SimpleCache objects for a given cache name. It is the responsibility of the implementation to lookup specific cache configuration details using the supplied name.
Author:
Matt Ward
  • Method Summary

    Modifier and Type
    Method
    Description
    createCache(String cacheName)
    Creates a cache.
  • Method Details

    • createCache

      SimpleCache<K,V> createCache(String cacheName)
      Creates a cache. The type of cache (e.g. localised, clustered etc.) produced is dependant on the factory implementation, and will vary at runtime.
      Parameters:
      cacheName - String
      Returns:
      SimpleCache