Package org.apache.marmotta.ldcache.sail

Examples of org.apache.marmotta.ldcache.sail.GenericLinkedDataSail



        tmpDirectory = Files.createTempDir();

        backend = new LDCachingFileBackend(tmpDirectory);
        lsail = new GenericLinkedDataSail(new MemoryStore(),backend, cacheFilter, config);
        repository = new SailRepository(lsail);
        repository.initialize();
    }
View Full Code Here


        try {
            ClientConfiguration config = new ClientConfiguration();

            backend = new LDCachingFileBackend(dataDirectory);
            sail = new GenericLinkedDataSail(new MemoryStore(),backend, cacheFilter, config);
            Repository repository = new SailRepository(sail);
            repository.initialize();
            setRepository(repository);

        } catch (RepositoryException e) {
View Full Code Here

        directory = new File(configurationService.getHome() + File.separator + "ldcache");

        try {
            backend = new LDCachingFileBackend(directory);
            sail = new GenericLinkedDataSail(parent, backend, new NotFilter<Resource>(cacheFilters), ldclientConfig);
            return sail;
        } catch (RepositoryException e) {
            log.error("could not initialize LDCache file backend",e);
            return null;
        }
View Full Code Here


        tmpDirectory = Files.createTempDir();

        backend = new LDCachingFileBackend(tmpDirectory);
        lsail = new GenericLinkedDataSail(new MemoryStore(),backend, cacheFilter, config);
        repository = new SailRepository(lsail);
        repository.initialize();
    }
View Full Code Here

TOP

Related Classes of org.apache.marmotta.ldcache.sail.GenericLinkedDataSail

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.