Package com.thinkaurelius.titan.graphdb.database.cache

Examples of com.thinkaurelius.titan.graphdb.database.cache.PassThroughStoreCache


    }

    public StoreCache getEdgeStoreCache() {
        Configuration cacheconf = configuration.subset(CACHE_NAMESPACE);
        if (this.batchLoading || !cacheconf.getBoolean(DB_CACHE_KEY,DB_CACHE_DEFAULT))
            return new PassThroughStoreCache();

        long expirationTime = cacheconf.getLong(DB_CACHE_TIME_KEY,DB_CACHE_TIME_DEFAULT);
        Preconditions.checkArgument(expirationTime>=0,"Invalid cache expiration time: %s",expirationTime);
        if (expirationTime==0) expirationTime=ETERNAL_CACHE_EXPIRATION;
View Full Code Here

TOP

Related Classes of com.thinkaurelius.titan.graphdb.database.cache.PassThroughStoreCache

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.