@CacheLocalStore public static class CacheDeploymentTestStoreFactory.TestLocalStore<K,V> extends Object implements CacheStore<K,IgniteBiTuple<V,?>>, Serializable
| Constructor and Description |
|---|
TestLocalStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear store.
|
void |
delete(Object key) |
void |
deleteAll(Collection<?> keys) |
IgniteBiTuple<V,?> |
load(K key) |
Map<K,IgniteBiTuple<V,?>> |
loadAll(Iterable<? extends K> keys) |
void |
loadCache(IgniteBiInClosure<K,IgniteBiTuple<V,?>> clo,
Object... args) |
void |
sessionEnd(boolean commit) |
void |
write(javax.cache.Cache.Entry<? extends K,? extends IgniteBiTuple<V,?>> entry) |
void |
writeAll(Collection<javax.cache.Cache.Entry<? extends K,? extends IgniteBiTuple<V,?>>> entries) |
public void loadCache(IgniteBiInClosure<K,IgniteBiTuple<V,?>> clo, @Nullable Object... args) throws javax.cache.integration.CacheLoaderException
loadCache in interface CacheStore<K,IgniteBiTuple<V,?>>javax.cache.integration.CacheLoaderExceptionpublic void sessionEnd(boolean commit)
throws javax.cache.integration.CacheWriterException
sessionEnd in interface CacheStore<K,IgniteBiTuple<V,?>>javax.cache.integration.CacheWriterExceptionpublic IgniteBiTuple<V,?> load(K key) throws javax.cache.integration.CacheLoaderException
load in interface javax.cache.integration.CacheLoader<K,IgniteBiTuple<V,?>>javax.cache.integration.CacheLoaderExceptionpublic Map<K,IgniteBiTuple<V,?>> loadAll(Iterable<? extends K> keys) throws javax.cache.integration.CacheLoaderException
loadAll in interface javax.cache.integration.CacheLoader<K,IgniteBiTuple<V,?>>javax.cache.integration.CacheLoaderExceptionpublic void write(javax.cache.Cache.Entry<? extends K,? extends IgniteBiTuple<V,?>> entry) throws javax.cache.integration.CacheWriterException
write in interface javax.cache.integration.CacheWriter<K,IgniteBiTuple<V,?>>javax.cache.integration.CacheWriterExceptionpublic void writeAll(Collection<javax.cache.Cache.Entry<? extends K,? extends IgniteBiTuple<V,?>>> entries) throws javax.cache.integration.CacheWriterException
writeAll in interface javax.cache.integration.CacheWriter<K,IgniteBiTuple<V,?>>javax.cache.integration.CacheWriterExceptionpublic void delete(Object key) throws javax.cache.integration.CacheWriterException
delete in interface javax.cache.integration.CacheWriter<K,IgniteBiTuple<V,?>>javax.cache.integration.CacheWriterExceptionpublic void deleteAll(Collection<?> keys) throws javax.cache.integration.CacheWriterException
deleteAll in interface javax.cache.integration.CacheWriter<K,IgniteBiTuple<V,?>>javax.cache.integration.CacheWriterExceptionpublic void clear()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019