-package org.simantics.db.service;\r
-\r
-import java.util.Collection;\r
-\r
-public interface ClusterCollectorPolicy {\r
-\r
- public interface CollectorCluster {\r
- long getImportance();\r
- long getClusterId();\r
- }\r
- \r
- Collection<CollectorCluster> select(int desiredBytes);\r
- Collection<CollectorCluster> select();\r
- \r
- void added(CollectorCluster cluster);\r
- void removed(CollectorCluster cluster);\r
- \r
-}\r
+package org.simantics.db.service;
+
+import java.util.Collection;
+
+public interface ClusterCollectorPolicy {
+
+ public interface CollectorCluster {
+ long getImportance();
+ long getClusterId();
+ }
+
+ Collection<CollectorCluster> select(int desiredBytes);
+ Collection<CollectorCluster> select();
+
+ void added(CollectorCluster cluster);
+ void removed(CollectorCluster cluster);
+
+}