Package org.shiftone.cache

Examples of org.shiftone.cache.CacheConfiguration


    private static final Log   LOG = new Log(HibernateCacheProvider.class);
    private CacheConfiguration config;

    public HibernateCacheProvider() throws ConfigurationException
    {
        config = new CacheConfiguration();
    }
View Full Code Here


    private static final Log LOG = new Log(ClusterTestCase.class);

    public void testCluster() throws Exception
    {

        CacheConfiguration config   = new CacheConfiguration();
        CacheFactory       factoryA = config.getCacheFactory("clusterA");
        CacheFactory       factoryB = config.getCacheFactory("clusterB");
        Cache              oneA     = factoryA.newInstance("one", 1000, 1000);
        Cache              oneB     = factoryB.newInstance("one", 1000, 1000);

        for (int i = 0; i < 1000; i++)
        {
View Full Code Here

TOP

Related Classes of org.shiftone.cache.CacheConfiguration

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.