public class InfinispanCacheFactory extends Object implements CacheFactory, Serializable
Constructor and Description |
---|
InfinispanCacheFactory(org.infinispan.manager.EmbeddedCacheManager cm,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the cache factory and any caches underneath.
|
<K,V> Cache<K,V> |
get(String cacheName)
Create / Get the cache for the give type use
|
void |
stop() |
public InfinispanCacheFactory(org.infinispan.manager.EmbeddedCacheManager cm, ClassLoader classLoader)
public <K,V> Cache<K,V> get(String cacheName)
CacheFactory
get
in interface CacheFactory
cacheName
- - name of the cachepublic void destroy()
CacheFactory
destroy
in interface CacheFactory
public void stop()
Copyright © 2019. All rights reserved.