Interface HashAlgorithm

  • All Known Implementing Classes:
    DefaultHashAlgorithm

    public interface HashAlgorithm
    Intents to provide hash for locating a server for a key.
    • Method Detail

      • hash

        long hash​(java.lang.String k)
        Compute the hash for the given key.
        Returns:
        a positive integer hash