Package net.sf.ehcache.store.chm

Examples of net.sf.ehcache.store.chm.SelectableConcurrentHashMap


        this.diskStore = diskStore;
        this.policy = determineEvictionPolicy();

        // create the CHM with initialCapacity sufficient to hold maximumSize
        int initialCapacity = getInitialCapacityForLoadFactor(maximumSize, DEFAULT_LOAD_FACTOR);
        map = new SelectableConcurrentHashMap(initialCapacity, DEFAULT_LOAD_FACTOR, CONCURRENCY_LEVEL);
        if (maximumSize > TOO_LARGE_TO_EFFICIENTLY_ITERATE) {
            useKeySample = true;
        } else {
            useKeySample = false;
        }
View Full Code Here

TOP

Related Classes of net.sf.ehcache.store.chm.SelectableConcurrentHashMap

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.