]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.db.tests/src/org/simantics/db/tests/api/request/misc/RequestParentTest5.java
Multiple reader thread support for db client
[simantics/platform.git] / tests / org.simantics.db.tests / src / org / simantics / db / tests / api / request / misc / RequestParentTest5.java
index 5b261c75cd2f0acf7baff0da3f39ef917c00114e..1e63dc4871578288b3ccd03072394dd41ad01035 100644 (file)
@@ -46,10 +46,10 @@ public class RequestParentTest5 extends SimpleBase {
                
         final Request request = new Request();
         
-        session.syncRequest(new TestReadRequest() {
+        session.syncRequest(new TestAsyncReadRequest() {
 
             @Override
-            public void run(ReadGraph graph) throws Throwable {
+            public void run(AsyncReadGraph graph) throws Throwable {
                 Layer0 l0 = Layer0.getInstance(graph);
                 graph.forEachObject(rl, l0.InstanceOf, new AsyncMultiListener<Resource>() {