]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db/src/org/simantics/db/service/ClusterSetsSupport.java
Migrated source code from Simantics SVN
[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 updateReadAndWriteDirectories(Path read, Path write);\r
16         \r
17 }\r