public class SubscriptionCacheLoader extends Object implements javax.cache.integration.CacheLoader<String,CachedSubscription>
CacheLoader
implementation for the Cache
in SubscriptionContainerImpl
. All inner exceptions will be handled by the cache implementation, or
rethrown as a CacheException
.Constructor and Description |
---|
SubscriptionCacheLoader(SubscriptionPersistor persistor) |
Modifier and Type | Method and Description |
---|---|
CachedSubscription |
load(String key) |
Map<String,CachedSubscription> |
loadAll(Iterable<? extends String> keys)
Implementation detail.
|
public SubscriptionCacheLoader(SubscriptionPersistor persistor)
public CachedSubscription load(String key) throws javax.cache.integration.CacheLoaderException
load
in interface javax.cache.integration.CacheLoader<String,CachedSubscription>
javax.cache.integration.CacheLoaderException
public Map<String,CachedSubscription> loadAll(Iterable<? extends String> keys) throws javax.cache.integration.CacheLoaderException
loadAll
in interface javax.cache.integration.CacheLoader<String,CachedSubscription>
javax.cache.integration.CacheLoaderException
This work is licensed under a Creative Commons Attribution 4.0 International License.