Class InfinispanCache<C>
- Type Parameters:
C- the marshalled value context
- All Implemented Interfaces:
org.springframework.cache.Cache
public class InfinispanCache<C>
extends org.wildfly.clustering.spring.context.cache.AbstractCache<org.wildfly.clustering.marshalling.MarshalledValue<Object,C>,org.wildfly.clustering.marshalling.MarshalledValue<Object,C>>
A
Cache based on an embedded Infinispan cache.- Author:
- Paul Ferraro
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceEncapsulates the configuration of this cacheNested classes/interfaces inherited from class org.wildfly.clustering.spring.context.cache.AbstractCache
org.wildfly.clustering.spring.context.cache.AbstractCache.MarshalledValueConfiguration<C extends Object>Nested classes/interfaces inherited from interface org.springframework.cache.Cache
org.springframework.cache.Cache.ValueRetrievalException, org.springframework.cache.Cache.ValueWrapper -
Constructor Summary
ConstructorsConstructorDescriptionInfinispanCache(InfinispanCache.Configuration<C> configuration) Constructs a new cache from the specified configuration. -
Method Summary
Methods inherited from class org.wildfly.clustering.spring.context.cache.AbstractCache
clear, evict, evictIfPresent, get, get, get, getName, getNativeCache, put, putIfAbsent, retrieveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.cache.Cache
invalidate, retrieve
-
Constructor Details
-
InfinispanCache
Constructs a new cache from the specified configuration.- Parameters:
configuration- the configuration of this cache
-