Merge branch 'master' into private/eclipse-4.7
[simantics/platform.git] / bundles / org.simantics.db.procore / src / fi / vtt / simantics / procore / internal / ClusterCollectorSupport.java
1 package fi.vtt.simantics.procore.internal;
2
3 import org.simantics.db.service.ClusterCollectorPolicy;
4 import org.simantics.db.service.ClusterCollectorPolicy.CollectorCluster;
5
6 interface ClusterCollectorSupport {
7
8     public int getCurrentSize();
9     public Iterable<CollectorCluster> getResidentClusters();
10     public void release(CollectorCluster id);
11     public long getClusterSize(CollectorCluster id);
12     public void setPolicy(ClusterCollectorPolicy policy);
13     
14 }