HCOLL-134 added the following method - bootstapOnlyLocalEntries(boolean bootstapOnlyLocalEntries)

This commit is contained in:
Rob Austin
2014-11-18 18:40:01 +00:00
parent 01faf866d9
commit 266da0be31
9 changed files with 71 additions and 29 deletions
@@ -248,6 +248,7 @@ public class NodeDiscovery {
final TcpTransportAndNetworkConfig tcpConfig = TcpTransportAndNetworkConfig
.of(ourAddressAndPort.getPort(),
toInetSocketCollection(knownHostPorts0))
.heartBeatInterval(1, SECONDS);
@@ -257,6 +258,7 @@ public class NodeDiscovery {
final ReplicationHub replicationHub = ReplicationHub.builder()
.maxEntrySize(10 * 1024)
.tcpTransportAndNetwork(tcpConfig)
.remoteNodeValidator(remoteNodeValidator)
.createWithId(identifier);
return new ReplicationHubFindByName(replicationHub);