Package google.registry.model
Class CacheUtils.AppEngineEnvironmentCacheLoader<K,V>
- java.lang.Object
-
- google.registry.model.CacheUtils.AppEngineEnvironmentCacheLoader<K,V>
-
- All Implemented Interfaces:
com.github.benmanes.caffeine.cache.AsyncCacheLoader<K,V>
,com.github.benmanes.caffeine.cache.CacheLoader<K,V>
- Enclosing class:
- CacheUtils
public abstract static class CacheUtils.AppEngineEnvironmentCacheLoader<K,V> extends java.lang.Object implements com.github.benmanes.caffeine.cache.CacheLoader<K,V>
ACacheLoader
that automatically masquerade the background thread where the refresh action runs in to be an GAE thread.
-
-
Constructor Summary
Constructors Constructor Description AppEngineEnvironmentCacheLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable V
reload(@NonNull K key, @NonNull V oldValue)
-