/// <summary> /// Create new key /// </summary> /// <param name="endpoint"></param> public ConnectionIdentifier(EndpointModel endpoint) { if (endpoint == null) { throw new ArgumentNullException(nameof(endpoint)); } Connection = new ConnectionModel { Endpoint = endpoint.Clone() }; _hash = Connection.CreateConsistentHash(); }