clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r1537058 - in /clerezza/trunk/rdf.jena.tdb.storage/src/main/java/org/apache/clerezza/rdf/jena/tdb/storage: SingleTdbDatasetTcProvider.java TdbTcProvider.java
Date Wed, 30 Oct 2013 12:00:48 GMT
Author: reto
Date: Wed Oct 30 12:00:48 2013
New Revision: 1537058

URL: http://svn.apache.org/r1537058
Log:
CLEREZZA-835: inverted default weights between the two TCProviders

Modified:
    clerezza/trunk/rdf.jena.tdb.storage/src/main/java/org/apache/clerezza/rdf/jena/tdb/storage/SingleTdbDatasetTcProvider.java
    clerezza/trunk/rdf.jena.tdb.storage/src/main/java/org/apache/clerezza/rdf/jena/tdb/storage/TdbTcProvider.java

Modified: clerezza/trunk/rdf.jena.tdb.storage/src/main/java/org/apache/clerezza/rdf/jena/tdb/storage/SingleTdbDatasetTcProvider.java
URL: http://svn.apache.org/viewvc/clerezza/trunk/rdf.jena.tdb.storage/src/main/java/org/apache/clerezza/rdf/jena/tdb/storage/SingleTdbDatasetTcProvider.java?rev=1537058&r1=1537057&r2=1537058&view=diff
==============================================================================
--- clerezza/trunk/rdf.jena.tdb.storage/src/main/java/org/apache/clerezza/rdf/jena/tdb/storage/SingleTdbDatasetTcProvider.java
(original)
+++ clerezza/trunk/rdf.jena.tdb.storage/src/main/java/org/apache/clerezza/rdf/jena/tdb/storage/SingleTdbDatasetTcProvider.java
Wed Oct 30 12:00:48 2013
@@ -85,7 +85,7 @@ import com.hp.hpl.jena.tdb.TDBFactory;
     @Property(name=SingleTdbDatasetTcProvider.TDB_DIR),
     @Property(name=SingleTdbDatasetTcProvider.DEFAULT_GRAPH_NAME),
     @Property(name=SingleTdbDatasetTcProvider.SYNC_INTERVAL, intValue=SingleTdbDatasetTcProvider.DEFAULT_SYNC_INTERVAL),
-    @Property(name=SingleTdbDatasetTcProvider.WEIGHT, intValue=107)
+    @Property(name=SingleTdbDatasetTcProvider.WEIGHT, intValue=105)
 })
 public class SingleTdbDatasetTcProvider extends BaseTdbTcProvider implements WeightedTcProvider
{
 

Modified: clerezza/trunk/rdf.jena.tdb.storage/src/main/java/org/apache/clerezza/rdf/jena/tdb/storage/TdbTcProvider.java
URL: http://svn.apache.org/viewvc/clerezza/trunk/rdf.jena.tdb.storage/src/main/java/org/apache/clerezza/rdf/jena/tdb/storage/TdbTcProvider.java?rev=1537058&r1=1537057&r2=1537058&view=diff
==============================================================================
--- clerezza/trunk/rdf.jena.tdb.storage/src/main/java/org/apache/clerezza/rdf/jena/tdb/storage/TdbTcProvider.java
(original)
+++ clerezza/trunk/rdf.jena.tdb.storage/src/main/java/org/apache/clerezza/rdf/jena/tdb/storage/TdbTcProvider.java
Wed Oct 30 12:00:48 2013
@@ -64,15 +64,11 @@ import org.apache.felix.scr.annotations.
  *
  * @author reto, hasan
  *
- * @scr.component immediate="true"
- * @scr.service
- * interface="org.apache.clerezza.rdf.core.access.WeightedTcProvider"
- * @scr.property name="weight" type="Integer" value="105"
  *
  */
 @Component(metatype = true, immediate = true)
 @Service(WeightedTcProvider.class)
-@Property(name = "weight", intValue = 105)
+@Property(name = "weight", intValue = 107)
 public class TdbTcProvider implements WeightedTcProvider {
 
     static {
@@ -99,7 +95,7 @@ public class TdbTcProvider implements We
             = new HashMap<File, Lock>();
     private final Map<File, Dataset> dir2Dataset = new HashMap<File, Dataset>();
     private static final Logger log = LoggerFactory.getLogger(TdbTcProvider.class);
-    private int weight = 105;
+    private int weight = 107;
 
     class SyncThread extends Thread {
 



Mime
View raw message