Class BasicCacheContainerDecorator

java.lang.Object
org.wildfly.clustering.cache.infinispan.BasicCacheContainerDecorator
All Implemented Interfaces:
org.infinispan.commons.api.BasicCacheContainer, org.infinispan.commons.api.Lifecycle

public class BasicCacheContainerDecorator extends Object implements org.infinispan.commons.api.BasicCacheContainer
Decorator of a BasicCacheContainer.
Author:
Paul Ferraro
  • Constructor Details

    • BasicCacheContainerDecorator

      protected BasicCacheContainerDecorator(org.infinispan.commons.api.BasicCacheContainer container)
      Creates a new cache container decorator
      Parameters:
      container - the decorated cache container
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface org.infinispan.commons.api.Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.infinispan.commons.api.Lifecycle
    • getCache

      public <K,V> org.infinispan.commons.api.BasicCache<K,V> getCache()
      Specified by:
      getCache in interface org.infinispan.commons.api.BasicCacheContainer
    • getCache

      public <K,V> org.infinispan.commons.api.BasicCache<K,V> getCache(String cacheName)
      Specified by:
      getCache in interface org.infinispan.commons.api.BasicCacheContainer
    • stopCache

      public void stopCache(String cacheName)
      Specified by:
      stopCache in interface org.infinispan.commons.api.BasicCacheContainer
    • getCacheNames

      public Set<String> getCacheNames()
      Specified by:
      getCacheNames in interface org.infinispan.commons.api.BasicCacheContainer
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object