mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
added a test to test tcp replication for chronicle sets
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user