added a test to test tcp replication for chronicle sets

This commit is contained in:
Rob Austin
2014-10-10 14:51:17 +01:00
parent a19f5f8f32
commit 481ae29503
4 changed files with 162 additions and 27 deletions
@@ -1,12 +1,8 @@
package net.openhft.chronicle.map;
import java.io.Closeable;
import java.util.Set;
/**
* Created by peter on 09/10/14.
*
* TODO to be moved to Chronicle-Map
*/
public interface ChronicleSet<E> extends Set<E> {
public interface ChronicleSet<E> extends Set<E>, Closeable {
public long longSize();
}
@@ -429,6 +429,11 @@ public class ChronicleSetBuilder<E> implements Cloneable {
public long longSize() {
return m.longSize();
}
@Override
public void close() throws IOException {
m.close();
}
}
}