Package org.infinispan.loaders.jdbc.configuration

Examples of org.infinispan.loaders.jdbc.configuration.JdbcStringBasedCacheStoreConfiguration


            assert c.clustering().cacheMode().equals(CacheMode.DIST_SYNC);
            assert c.loaders().passivation();
            assert !c.loaders().fetchPersistentState();
            assert !c.loaders().shared();
            assert c.loaders().cacheLoaders().size() == 1;
            JdbcStringBasedCacheStoreConfiguration jscs = (JdbcStringBasedCacheStoreConfiguration) c.loaders().cacheLoaders().get(0);
            assert jscs.table().tableNamePrefix().equals("JDG_MC_SK");
            assert jscs.table().idColumnName().equals("id");
            assert jscs.table().idColumnType().equals("VARCHAR");
            assert jscs.table().dataColumnName().equals("datum");
            assert jscs.table().dataColumnType().equals("BINARY");
            assert jscs.table().timestampColumnName().equals("version");
            assert jscs.table().timestampColumnType().equals("BIGINT");
            assert jscs.async().enabled();
            assert jscs.async().flushLockTimeout() == 1;
            assert jscs.async().modificationQueueSize() == 1024;
            assert jscs.async().shutdownTimeout() == 25000;
            assert jscs.async().threadPoolSize() == 1;

            c = cm.getCacheConfiguration("binaryCache");
            assert c.clustering().cacheMode().equals(CacheMode.DIST_SYNC);
            assert !c.loaders().passivation();
            assert !c.loaders().fetchPersistentState();
View Full Code Here

TOP

Related Classes of org.infinispan.loaders.jdbc.configuration.JdbcStringBasedCacheStoreConfiguration

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.