]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.procore/src/org/simantics/db/procore/cluster/TableIntSet.java
Multiple reader thread support for db client
[simantics/platform.git] / bundles / org.simantics.db.procore / src / org / simantics / db / procore / cluster / TableIntSet.java
index f13042faa0a39ecdc21f5fa532c6f958d55ad707..a0e0eb14bb813de23b83ecb43362571ddd0c1898 100644 (file)
@@ -18,7 +18,7 @@ import org.simantics.db.impl.IntAllocatorI;
 import org.simantics.db.impl.Modifier;
 import org.simantics.db.impl.graph.ReadGraphImpl;
 import org.simantics.db.impl.query.QueryProcessor;
-import org.simantics.db.procedure.AsyncMultiProcedure;
+import org.simantics.db.procedure.SyncMultiProcedure;
 
 final class TableIntSet {
     public static final int HeaderSize = IntHash.HeaderSize;
@@ -57,7 +57,7 @@ final class TableIntSet {
         return IntHash.getAllocatedSize(table, base);
     }
     
-    static void foreachInt(int[] table, int base, QueryProcessor processor, ReadGraphImpl graph, AsyncMultiProcedure<Resource> procedure, Modifier modifier) throws DatabaseException {
+    static void foreachInt(int[] table, int base, QueryProcessor processor, ReadGraphImpl graph, SyncMultiProcedure<Resource> procedure, Modifier modifier) throws DatabaseException {
         IntHash.foreachInt(graph, table, base, procedure, modifier);
     }