Package net.sf.ehcache.concurrent

Examples of net.sf.ehcache.concurrent.StripedMutex


     * @throws CacheException shouldn't happen
     * @since 1.2
     */
    public BlockingCache(final Ehcache cache, int numberOfStripes) throws CacheException {
        this.cache = cache;
        this.stripedMutex = new StripedMutex(numberOfStripes);
    }
View Full Code Here


     * @throws CacheException shouldn't happen
     * @since 1.6.1
     */
    public BlockingCache(final Ehcache cache) throws CacheException {
        this.cache = cache;
        this.stripedMutex = new StripedMutex();
    }
View Full Code Here

TOP

Related Classes of net.sf.ehcache.concurrent.StripedMutex

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.