private void nextHash() {
    // this.calculateHash(Integer.toString(tries)+key).hashCode();
    long tmpKey = hashAlg.hash((numTries++) + key);
    // This echos the implementation of Long.hashCode()
    hashVal += (int) (tmpKey ^ (tmpKey >>> 32));
    hashVal &= 0xffffffffL; /* truncate to 32-bits */
    remainingTries--;
  }
Create a new KetamaIterator to be used by a client for an operation.

@param k the key to iterate for
@param t the number of tries until giving up
@param ketamaNodes the continuum in the form of a TreeMap to be used when
         selecting a node
@param hashAlg the hash algorithm to use when selecting within the
         continuumq
src/main/java/net/spy/memcached/KetamaIterator.java