@ThreadSafe public abstract class InfinispanStore<K,V> extends Object implements org.infinispan.persistence.spi.AdvancedLoadWriteStore<K,V>
| Constructor and Description |
|---|
InfinispanStore() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCacheName()
Returns the name of the associated Infinispan cache / map.
|
org.infinispan.persistence.spi.InitializationContext |
getInitContext()
Returns the initialisation context for the associated Infinispan
cache / map.
|
static Map<String,InfinispanStore> |
getInstances()
Returns the
initialised instances of this class. |
QueryExecutor<K,V> |
getQueryExecutor()
Returns an query executor against the underlying Infinispan cache
store.
|
void |
init(org.infinispan.persistence.spi.InitializationContext ctx) |
void |
stop() |
public InfinispanStore()
public static Map<String,InfinispanStore> getInstances()
initialised instances of this class.
Intended for testing and debugging purposes.public org.infinispan.persistence.spi.InitializationContext getInitContext()
public String getCacheName()
null if not available.public void init(org.infinispan.persistence.spi.InitializationContext ctx)
public QueryExecutor<K,V> getQueryExecutor()
null if not supported or not
enabled.public void stop()
stop in interface org.infinispan.commons.api.LifecycleCopyright © 2016 Connect2id Ltd.. All Rights Reserved.