public class SubscriptionCacheWriter extends Object implements javax.cache.integration.CacheWriter<String,CachedSubscription>
CacheWriter implementation for the Cache in SubscriptionContainerImpl.
All inner exceptions will be handled by the cache implementation, or rethrown as a CacheException.| Constructor and Description |
|---|
SubscriptionCacheWriter(SubscriptionPersistor persistor) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Object obj) |
void |
deleteAll(Collection<?> keys) |
void |
write(javax.cache.Cache.Entry<? extends String,? extends CachedSubscription> entry) |
void |
writeAll(Collection<javax.cache.Cache.Entry<? extends String,? extends CachedSubscription>> entries) |
public SubscriptionCacheWriter(SubscriptionPersistor persistor)
public void write(javax.cache.Cache.Entry<? extends String,? extends CachedSubscription> entry) throws javax.cache.integration.CacheWriterException
write in interface javax.cache.integration.CacheWriter<String,CachedSubscription>javax.cache.integration.CacheWriterExceptionpublic void writeAll(Collection<javax.cache.Cache.Entry<? extends String,? extends CachedSubscription>> entries) throws javax.cache.integration.CacheWriterException
writeAll in interface javax.cache.integration.CacheWriter<String,CachedSubscription>javax.cache.integration.CacheWriterExceptionpublic void delete(Object obj) throws javax.cache.integration.CacheWriterException
delete in interface javax.cache.integration.CacheWriter<String,CachedSubscription>javax.cache.integration.CacheWriterExceptionpublic void deleteAll(Collection<?> keys) throws javax.cache.integration.CacheWriterException
deleteAll in interface javax.cache.integration.CacheWriter<String,CachedSubscription>javax.cache.integration.CacheWriterExceptionThis work is licensed under a Creative Commons Attribution 4.0 International License.