Renamed TcpConfig static factories back to of()

This commit is contained in:
leventov
2014-11-11 17:16:57 +03:00
parent 308abc5b72
commit 59f53fd115
14 changed files with 47 additions and 60 deletions
@@ -52,7 +52,7 @@ public class SetForTCPSocketReplication3wayTest {
final int serverPort,
final InetSocketAddress... endpoints) throws IOException {
return (T) ChronicleSetBuilder.of(Integer.class)
.replication(identifier, TcpTransportAndNetworkConfig.forUnknownTopology(serverPort, asList(endpoints))
.replication(identifier, TcpTransportAndNetworkConfig.of(serverPort, asList(endpoints))
.heartBeatInterval(1L, SECONDS))
.createPersistedTo(getPersistenceFile());
}