]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db/src/org/simantics/db/service/ClusterSetsSupport.java
Merge "Upgrade pdfbox to 2.0.3 and fastutil to 7.0.13."
[simantics/platform.git] / bundles / org.simantics.db / src / org / simantics / db / service / ClusterSetsSupport.java
1 package org.simantics.db.service;\r
2 \r
3 import java.io.IOException;\r
4 import java.nio.file.Path;\r
5 \r
6 public interface ClusterSetsSupport {\r
7 \r
8         void connect(String databaseId);\r
9         boolean containsKey(long resourceId);\r
10         Long get(Long id);\r
11     Long getSet(long clusterId);\r
12     void put(long resourceId, long clusterId);\r
13     void save() throws IOException;\r
14     void clear();\r
15     void setReadDirectory(Path read);\r
16     void updateWriteDirectory(Path write);\r
17         \r
18 }\r