Class CacheUtils

java.lang.Object
ubic.gemma.persistence.cache.CacheUtils

public class CacheUtils extends Object
Common helpers for Spring Cache manipulation.

Pre-phase-2 this class branched per native cache type (EhCache 2 vs. Map vs. fallback). Phase 2 retired EhCache 2 and reduced to "Map or generic Spring Cache fallback". Phase 3 reintroduced a real CacheManager-backed Spring CacheManager (EhcacheConfig), so the native cache is now a Cache (JSR-107) for every application cache. The helpers below cover both backings: Map (for tests / ad-hoc ConcurrentMapCache) and Cache (production).

  • Constructor Details

    • CacheUtils

      public CacheUtils()
  • Method Details