Runtime Engine 10.0.0.Beta1
-
- All Implemented Interfaces:
- org.teiid.cache.Cache<K,V>
public class InfinispanCache<K,V>
extends Object
implements org.teiid.cache.Cache<K,V>
Implementation of Cache using Infinispan
-
-
Field Summary
Fields
| Modifier and Type |
Field and Description |
protected org.infinispan.AdvancedCache<K,V> |
cacheStore |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
InfinispanCache
public InfinispanCache(org.infinispan.Cache<K,V> cacheStore,
String cacheName,
ClassLoader classloader)
-
Method Detail
-
get
public V get(K key)
- Specified by:
get in interface org.teiid.cache.Cache<K,V>
-
remove
public V remove(K key)
- Specified by:
remove in interface org.teiid.cache.Cache<K,V>
-
size
public int size()
- Specified by:
size in interface org.teiid.cache.Cache<K,V>
-
clear
public void clear()
- Specified by:
clear in interface org.teiid.cache.Cache<K,V>
-
getName
public String getName()
- Specified by:
getName in interface org.teiid.cache.Cache<K,V>
-
keySet
public Set<K> keySet()
- Specified by:
keySet in interface org.teiid.cache.Cache<K,V>
Runtime Engine 10.0.0.Beta1
Copyright © 2017 JBoss by Red Hat. All rights reserved.