Class RemoteCacheProvider


  • public class RemoteCacheProvider
    extends Object
    Get either just remoteCache associated with remoteStore associated with infinispan cache of given name. If security is enabled, then return secured remoteCache based on the template provided by remoteStore configuration but with added "authentication" configuration of secured hotrod endpoint (RemoteStore doesn't yet allow to configure "security" of hotrod endpoints) TODO: Remove this class once we upgrade to infinispan version, which allows to configure security for remoteStore itself
    Author:
    Marek Posolda
    • Field Detail

      • logger

        protected static final org.jboss.logging.Logger logger
    • Constructor Detail

      • RemoteCacheProvider

        public RemoteCacheProvider​(Config.Scope config,
                                   org.infinispan.manager.EmbeddedCacheManager cacheManager)
    • Method Detail

      • getRemoteCache

        public org.infinispan.client.hotrod.RemoteCache getRemoteCache​(String cacheName)
      • stop

        public void stop()
      • loadRemoteCache

        protected org.infinispan.client.hotrod.RemoteCache loadRemoteCache​(String cacheName)
      • getOrCreateSecuredRemoteCacheManager

        protected org.infinispan.client.hotrod.RemoteCacheManager getOrCreateSecuredRemoteCacheManager​(Config.Scope config,
                                                                                                       String cacheName,
                                                                                                       org.infinispan.client.hotrod.RemoteCacheManager origManager)