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