Class RemoteCacheContainerDecorator

java.lang.Object
org.wildfly.clustering.cache.infinispan.BasicCacheContainerDecorator
org.wildfly.clustering.cache.infinispan.remote.RemoteCacheContainerDecorator
All Implemented Interfaces:
org.infinispan.client.hotrod.RemoteCacheContainer, org.infinispan.commons.api.BasicCacheContainer, org.infinispan.commons.api.Lifecycle

public class RemoteCacheContainerDecorator extends org.wildfly.clustering.cache.infinispan.BasicCacheContainerDecorator implements org.infinispan.client.hotrod.RemoteCacheContainer
A decorator of a RemoteCacheContainer.
Author:
Paul Ferraro
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    RemoteCacheContainerDecorator(org.infinispan.client.hotrod.RemoteCacheContainer container)
    Creates a new remote cache container decorator
  • Method Summary

    Modifier and Type
    Method
    Description
    org.infinispan.client.hotrod.RemoteCacheManagerAdmin
     
    <K,V> org.infinispan.client.hotrod.RemoteCache<K,V>
     
    <K,V> org.infinispan.client.hotrod.RemoteCache<K,V>
    getCache(String cacheName)
     
    org.infinispan.client.hotrod.configuration.Configuration
     
     
    org.infinispan.commons.marshall.Marshaller
     
    boolean
     
    boolean
     
    boolean
    switchToCluster(String clusterName)
     
    boolean
     

    Methods inherited from class org.wildfly.clustering.cache.infinispan.BasicCacheContainerDecorator

    equals, getCacheNames, hashCode, start, stop, stopCache, toString

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.infinispan.commons.api.BasicCacheContainer

    getCacheNames, stopCache

    Methods inherited from interface org.infinispan.commons.api.Lifecycle

    start, stop
  • Constructor Details

    • RemoteCacheContainerDecorator

      protected RemoteCacheContainerDecorator(org.infinispan.client.hotrod.RemoteCacheContainer container)
      Creates a new remote cache container decorator
      Parameters:
      container - the decorated remote cache container
  • Method Details

    • getCache

      public <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getCache()
      Specified by:
      getCache in interface org.infinispan.commons.api.BasicCacheContainer
      Specified by:
      getCache in interface org.infinispan.client.hotrod.RemoteCacheContainer
      Overrides:
      getCache in class org.wildfly.clustering.cache.infinispan.BasicCacheContainerDecorator
    • getCache

      public <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getCache(String cacheName)
      Specified by:
      getCache in interface org.infinispan.commons.api.BasicCacheContainer
      Specified by:
      getCache in interface org.infinispan.client.hotrod.RemoteCacheContainer
      Overrides:
      getCache in class org.wildfly.clustering.cache.infinispan.BasicCacheContainerDecorator
    • getConfiguration

      public org.infinispan.client.hotrod.configuration.Configuration getConfiguration()
      Specified by:
      getConfiguration in interface org.infinispan.client.hotrod.RemoteCacheContainer
    • isStarted

      public boolean isStarted()
      Specified by:
      isStarted in interface org.infinispan.client.hotrod.RemoteCacheContainer
    • switchToCluster

      public boolean switchToCluster(String clusterName)
      Specified by:
      switchToCluster in interface org.infinispan.client.hotrod.RemoteCacheContainer
    • switchToDefaultCluster

      public boolean switchToDefaultCluster()
      Specified by:
      switchToDefaultCluster in interface org.infinispan.client.hotrod.RemoteCacheContainer
    • getCurrentClusterName

      public String getCurrentClusterName()
      Specified by:
      getCurrentClusterName in interface org.infinispan.client.hotrod.RemoteCacheContainer
    • getMarshaller

      public org.infinispan.commons.marshall.Marshaller getMarshaller()
      Specified by:
      getMarshaller in interface org.infinispan.client.hotrod.RemoteCacheContainer
    • isTransactional

      public boolean isTransactional(String cacheName)
      Specified by:
      isTransactional in interface org.infinispan.client.hotrod.RemoteCacheContainer
    • administration

      public org.infinispan.client.hotrod.RemoteCacheManagerAdmin administration()
      Specified by:
      administration in interface org.infinispan.client.hotrod.RemoteCacheContainer