Package org.gridgain.grid.kernal.processors.cache.distributed

Examples of org.gridgain.grid.kernal.processors.cache.distributed.GridCacheModuloAffinityFunction


    private GridCacheConfiguration cacheConfiguration() {
        GridCacheConfiguration cfg = defaultCacheConfiguration();

        cfg.setCacheMode(PARTITIONED);
        cfg.setStore(new TestStore());
        cfg.setAffinity(new GridCacheModuloAffinityFunction(3, 1));
        cfg.setWriteSynchronizationMode(FULL_SYNC);

        return cfg;
    }
View Full Code Here

TOP

Related Classes of org.gridgain.grid.kernal.processors.cache.distributed.GridCacheModuloAffinityFunction

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.