private ClusterClientSettings Copy(
IEnumerable<ActorPath> initialContacts = null,
TimeSpan? establishingGetContactsInterval = null,
TimeSpan? refreshContactsInterval = null,
TimeSpan? heartbeatInterval = null,
TimeSpan? acceptableHeartbeatPause = null,
int? bufferSize = null)
{
return new ClusterClientSettings(
initialContacts == null ? InitialContacts : ImmutableHashSet.CreateRange(initialContacts),
establishingGetContactsInterval ?? EstablishingGetContactsInterval,
refreshContactsInterval ?? RefreshContactsInterval,
heartbeatInterval ?? HeartbeatInterval,
acceptableHeartbeatPause ?? AcceptableHeartbeatPause,
bufferSize ?? BufferSize);
}
}