- All Implemented Interfaces:
javax.cache.integration.CacheLoader<K,V>
, javax.cache.integration.CacheWriter<K,V>
, CacheStore<K,V>
- Enclosing interface:
- CacheStore<K,V>
public static class CacheStore.Default<K,V>
extends Object
implements CacheStore<K,V>
-
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
-
public V load(
K key)
throws
javax.cache.integration.CacheLoaderException
- Specified by:
load
in interface javax.cache.integration.CacheLoader<K,V>
- Throws:
javax.cache.integration.CacheLoaderException
-
public Map<K,V> loadAll(
Iterable<? extends K> keys)
throws
javax.cache.integration.CacheLoaderException
- Specified by:
loadAll
in interface javax.cache.integration.CacheLoader<K,V>
- Throws:
javax.cache.integration.CacheLoaderException
-
public void write(
javax.cache.Cache.Entry<? extends K,? extends V> entry)
throws
javax.cache.integration.CacheWriterException
- Specified by:
write
in interface javax.cache.integration.CacheWriter<K,V>
- Throws:
javax.cache.integration.CacheWriterException
-
public void writeAll(
Collection<javax.cache.Cache.Entry<? extends K,? extends V>> entries)
throws
javax.cache.integration.CacheWriterException
- Specified by:
writeAll
in interface javax.cache.integration.CacheWriter<K,V>
- Throws:
javax.cache.integration.CacheWriterException
-
public void delete(
Object key)
throws
javax.cache.integration.CacheWriterException
- Specified by:
delete
in interface javax.cache.integration.CacheWriter<K,V>
- Throws:
javax.cache.integration.CacheWriterException
-
public void deleteAll(
Collection<?> keys)
throws
javax.cache.integration.CacheWriterException
- Specified by:
deleteAll
in interface javax.cache.integration.CacheWriter<K,V>
- Throws:
javax.cache.integration.CacheWriterException