mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-134 added the following method - bootstapOnlyLocalEntries(boolean bootstapOnlyLocalEntries)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user