/** {@inheritDoc} */ override public int GetHashCode() { // This code will be used to place Node on ring, // so apply java-style hashing as on server. return(GridClientJavaHelper.GetJavaHashCode(HashId)); }
/** <inheritdoc /> */ private int Partition(Object key) { var hashCode = GridClientJavaHelper.GetJavaHashCode(key); return(Math.Abs(hashCode % Partitions)); }