Many renames, API refactorings, classes/interfaces made private to net.openhft.chronicle.map package

Conflicts:
	src/main/java/net/openhft/chronicle/map/StatelessChronicleMap.java
	src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
This commit is contained in:
leventov
2014-11-07 12:10:40 +03:00
parent 157891dc9d
commit 4a51b129a3
67 changed files with 1241 additions and 850 deletions
@@ -28,7 +28,7 @@ import java.net.InetSocketAddress;
import static java.util.concurrent.TimeUnit.SECONDS;
import static net.openhft.chronicle.map.Builder.getPersistenceFile;
import static net.openhft.chronicle.hash.TcpReplicationConfig.of;
import static net.openhft.chronicle.hash.replication.TcpConfig.of;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
@@ -51,10 +51,9 @@ public class SetForTCPSocketReplicationTest3way {
final int serverPort,
final InetSocketAddress... endpoints) throws IOException {
return (T) ChronicleSetBuilder.of(Integer.class)
.file(getPersistenceFile())
.replicators(identifier, of(serverPort, endpoints)
.replication(identifier, of(serverPort, endpoints)
.heartBeatInterval(1L, SECONDS))
.create();
.createPersistedTo(getPersistenceFile());
}
@@ -72,7 +71,7 @@ public class SetForTCPSocketReplicationTest3way {
for (final Closeable closeable : new Closeable[]{set1, set2, set3}) {
try {
closeable.close();
} catch (IOException e) {
} catch (Exception e) {
e.printStackTrace();
}
}