]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.common/src/org/simantics/db/common/clustering/NoCollectingPolicy.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.db.common / src / org / simantics / db / common / clustering / NoCollectingPolicy.java
1 package org.simantics.db.common.clustering;\r
2 \r
3 import java.util.Collection;\r
4 import java.util.Collections;\r
5 \r
6 import org.simantics.db.service.ClusterCollectorPolicy;\r
7 \r
8 public class NoCollectingPolicy implements ClusterCollectorPolicy {\r
9 \r
10         @Override\r
11         public Collection<CollectorCluster> select(int desiredBytes) {\r
12                 return Collections.emptyList();\r
13         }\r
14 \r
15         @Override\r
16         public Collection<CollectorCluster> select() {\r
17                 return Collections.emptyList();\r
18         }\r
19 \r
20         @Override\r
21         public void added(CollectorCluster cluster) {\r
22         }\r
23 \r
24         @Override\r
25         public void removed(CollectorCluster cluster) {\r
26         }\r
27 \r
28 }\r