Package org.apache.marmotta.commons.locking

Examples of org.apache.marmotta.commons.locking.ObjectLocks$LockCacheLoader


     * @param backend
     */
    public LDCache(CacheConfiguration config, LDCachingBackend backend) {
        log.info("Linked Data Caching Service initialising ...");

        this.resourceLocks = new ObjectLocks();
        this.backend  = backend;
        this.ldclient = new LDClient(config.getClientConfiguration());
        this.config   = config;
        this.lock = new ReentrantReadWriteLock();
    }
View Full Code Here


    private ReentrantReadWriteLock commitLock = new ReentrantReadWriteLock();


    public KiWiValueFactory(KiWiStore store, String defaultContext) {
        resourceLocks = new ObjectLocks();
        literalLocks  = new ObjectLocks();

        anonIdGenerator = new Random();
        tripleRegistry  = store.tripleRegistry;

        this.store          = store;
View Full Code Here

     *
     * @param config
     * @param backend
     */
    public LDCache(CacheConfiguration config, LDCachingBackend backend) {
        this.resourceLocks = new ObjectLocks();
        this.backend  = backend;
        this.ldclient = new LDClient(config.getClientConfiguration());
        this.config   = config;
        this.lock = new ReentrantReadWriteLock();
    }
View Full Code Here

TOP

Related Classes of org.apache.marmotta.commons.locking.ObjectLocks$LockCacheLoader

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.