some logging on which registry is used
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/e30cd53f Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/e30cd53f Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/e30cd53f Branch: refs/heads/master Commit: e30cd53f7ed4748ea387f38798a2e8d3a1e615fe Parents: f2f50f6 Author: Sebastian Schaffert <[email protected]> Authored: Mon Mar 31 14:30:23 2014 +0200 Committer: Sebastian Schaffert <[email protected]> Committed: Mon Mar 31 14:30:23 2014 +0200 ---------------------------------------------------------------------- .../java/org/apache/marmotta/kiwi/sail/KiWiValueFactory.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/e30cd53f/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/sail/KiWiValueFactory.java ---------------------------------------------------------------------- diff --git a/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/sail/KiWiValueFactory.java b/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/sail/KiWiValueFactory.java index 2502ea1..74696c5 100644 --- a/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/sail/KiWiValueFactory.java +++ b/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/sail/KiWiValueFactory.java @@ -62,16 +62,20 @@ public class KiWiValueFactory implements ValueFactory { switch (store.getPersistence().getConfiguration().getRegistryStrategy()) { case DATABASE: + log.info("KiWi Value Factory: database registry"); registry = new DBTripleRegistry(store); break; case CACHE: + log.info("KiWi Value Factory: cache registry"); registry = new CacheTripleRegistry(store.getPersistence().getCacheManager()); break; case LOCAL: + log.info("KiWi Value Factory: in-memory registry"); registry = new LocalTripleRegistry(); break; default: - registry = new CacheTripleRegistry(store.getPersistence().getCacheManager()); + log.info("KiWi Value Factory: in-memory registry"); + registry = new LocalTripleRegistry(); } this.store = store;
