Package org.infinispan.loaders.remote.configuration

Examples of org.infinispan.loaders.remote.configuration.RemoteCacheStoreConfiguration


      }

      for (RemoteStore store : stores) {
         final RemoteCache<Object, Object> storeCache = store.getRemoteCache();
         if (storeCache.containsKey(knownKeys)) {
            RemoteCacheStoreConfiguration storeConfig = store.getConfiguration();
            if (!storeConfig.hotRodWrapping()) {
               throw log.remoteStoreNoHotRodWrapping(cache.getName());
            }


            Set<byte[]> keys;
View Full Code Here


            assert c.eviction().maxEntries() == 1000;
            assert c.loaders().passivation();
            assert !c.loaders().fetchPersistentState();
            assert !c.loaders().shared();
            assert c.loaders().cacheLoaders().size() == 1;
            RemoteCacheStoreConfiguration rcsc = (RemoteCacheStoreConfiguration) c.loaders().cacheLoaders().get(0);
            assert !rcsc.purgeOnStartup();
            assert rcsc.servers().size() == 1;
            RemoteServerConfiguration server = rcsc.servers().get(0);
            assert server.host().equals("remote-host");
            assert server.port() == 11222;
            assert rcsc.async().enabled();
            assert rcsc.async().flushLockTimeout() == 1;
            assert rcsc.async().modificationQueueSize() == 1024;
            assert rcsc.async().shutdownTimeout() == 25000;
            assert rcsc.async().threadPoolSize() == 1;
         }

      });

   }
View Full Code Here

      }

      for (RemoteCacheStore store : stores) {
         final RemoteCache<Object, Object> storeCache = store.getRemoteCache();
         if (storeCache.containsKey(knownKeys)) {
            RemoteCacheStoreConfiguration storeConfig = (RemoteCacheStoreConfiguration) store.getConfiguration();
            if (!storeConfig.hotRodWrapping()) {
               throw log.remoteStoreNoHotRodWrapping(cache.getName());
            }


            Set<byte[]> keys;
View Full Code Here

TOP

Related Classes of org.infinispan.loaders.remote.configuration.RemoteCacheStoreConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.