You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ss...@apache.org on 2014/03/31 14:30:29 UTC
git commit: some logging on which registry is used
Repository: marmotta
Updated Branches:
refs/heads/develop f2f50f697 -> e30cd53f7
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/develop
Commit: e30cd53f7ed4748ea387f38798a2e8d3a1e615fe
Parents: f2f50f6
Author: Sebastian Schaffert <ss...@apache.org>
Authored: Mon Mar 31 14:30:23 2014 +0200
Committer: Sebastian Schaffert <ss...@apache.org>
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;