]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/Query.java
Multiple reader thread support for db client
[simantics/platform.git] / bundles / org.simantics.db.impl / src / org / simantics / db / impl / query / Query.java
index 29ba90e11cd250fc0aa2b02376faa804e208669a..22c970f31c326f202bc98b0dfe2171d5f1b4a676 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2007, 2010 Association for Decentralized Information Management
+ * Copyright (c) 2007, 2018 Association for Decentralized Information Management
  * in Industry THTH ry.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  *******************************************************************************/
 package org.simantics.db.impl.query;
 
+import org.simantics.db.exception.DatabaseException;
 import org.simantics.db.impl.graph.ReadGraphImpl;
 
-
-
 /*
  * The following methods need to be properly implemented
  * - equals()
- * - hashCode()  
+ * - hashCode()
  */
 public interface Query {
 
-       
-       void recompute(ReadGraphImpl graph, Object provider, CacheEntry entry);
+    void recompute(ReadGraphImpl graph) throws DatabaseException;
     void removeEntry(QueryProcessor processor);
     int type(); 
-    
+
 }