Class CacheVersionAwareCacheLoader<K,V>

java.lang.Object
com.atlassian.cache.hazelcast.CacheVersionAwareCacheLoader<K,V>
All Implemented Interfaces:
com.atlassian.cache.CacheLoader<K,V>

public class CacheVersionAwareCacheLoader<K,V> extends Object implements com.atlassian.cache.CacheLoader<K,V>
Cache loader wrapper which will re-invoke original loader if cache version changes while entry loading was in progress

Cache version changed each time when removeAll or clear is called

  • Method Details

    • load

      @Nonnull public V load(@Nonnull K key)
      Specified by:
      load in interface com.atlassian.cache.CacheLoader<K,V>