]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db/src/org/simantics/db/AsyncRequestProcessor.java
Multiple reader thread support for db client
[simantics/platform.git] / bundles / org.simantics.db / src / org / simantics / db / AsyncRequestProcessor.java
index 3f17927e223693752142a51645fdf7565412765a..ded8292faab41b102d8ef09484975ee620f077fd 100644 (file)
@@ -64,14 +64,7 @@ import org.simantics.db.request.WriteOnly;
  * @see MergingGraphRequestProcessor
  * @see RequestProcessor
  */
-public interface AsyncRequestProcessor extends ServiceLocator, AsyncRequestProcessorSpecific {
-
-       Resource getRootLibrary();
-       
-    /**
-     * @return the {@link Session} for which this processor is based on.
-     */
-    Session getSession();
+public interface AsyncRequestProcessor extends RequestProcessor, AsyncRequestProcessorSpecific {
     
     <T> void async(ReadInterface<T> r, Procedure<T> procedure);
     <T> void async(ReadInterface<T> r, AsyncProcedure<T> procedure);
@@ -80,9 +73,4 @@ public interface AsyncRequestProcessor extends ServiceLocator, AsyncRequestProce
     <T> void async(ReadInterface<T> r, AsyncListener<T> procedure);
     <T> void async(ReadInterface<T> r, SyncListener<T> procedure);
     
-    <T> void async(WriteInterface<T> r);
-    <T> void async(WriteInterface<T> r, Procedure<T> procedure);
-    
-    Object getModificationCounter();
-    
 }