Class InfinispanCacheManager
java.lang.Object
org.wildfly.clustering.spring.context.cache.AbstractCacheManager
org.wildfly.clustering.spring.context.infinispan.embedded.cache.InfinispanCacheManager
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.cache.CacheManager,org.springframework.context.EnvironmentAware,org.springframework.context.ResourceLoaderAware
public class InfinispanCacheManager
extends org.wildfly.clustering.spring.context.cache.AbstractCacheManager
A Spring
Cache backed by an embedded Infinispan cache.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionInfinispanCacheManager(org.infinispan.manager.CacheContainer container, BiFunction<org.springframework.core.env.Environment, org.springframework.core.io.ResourceLoader, org.wildfly.clustering.marshalling.ByteBufferMarshaller> marshallerFactory) Creates a new cache manager from the specified embedded Infinispan cache container. -
Method Summary
Methods inherited from class org.wildfly.clustering.spring.context.cache.AbstractCacheManager
getCacheNames, getMarshaller, setEnvironment, setResourceLoaderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.cache.CacheManager
resetCaches
-
Constructor Details
-
InfinispanCacheManager
public InfinispanCacheManager(org.infinispan.manager.CacheContainer container, BiFunction<org.springframework.core.env.Environment, org.springframework.core.io.ResourceLoader, org.wildfly.clustering.marshalling.ByteBufferMarshaller> marshallerFactory) Creates a new cache manager from the specified embedded Infinispan cache container.- Parameters:
container- a cache containermarshallerFactory- a cache entry marshaller
-
-
Method Details
-
getCache
-