Пример #1
0
 public KetamaLocator(string hashName = null)
 {
     _hashPool = new HashPool(() => HashAlgorithm.Create(hashName ?? DefaultHashName));
 }
Пример #2
0
 public KetamaLocator(string hashName = null)
 {
     _hashPool        = new HashPool(() => HashAlgorithm.Create(hashName ?? DefaultHashName));
     _nodeStateChange = _ => Reinitialize();
 }