java.lang.Object
org.wildfly.clustering.spring.context.cache.AbstractCache<org.wildfly.clustering.marshalling.MarshalledValue<Object,C>,org.wildfly.clustering.marshalling.MarshalledValue<Object,C>>
org.wildfly.clustering.spring.context.infinispan.embedded.cache.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 Classes
    Modifier and Type
    Class
    Description
    static interface 
    Encapsulates the configuration of this cache

    Nested 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

    Constructors
    Constructor
    Description
    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, retrieve

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.cache.Cache

    invalidate, retrieve
  • Constructor Details

    • InfinispanCache

      public InfinispanCache(InfinispanCache.Configuration<C> configuration)
      Constructs a new cache from the specified configuration.
      Parameters:
      configuration - the configuration of this cache