com.twitter

hashing

package hashing

Visibility
  1. Public
  2. All

Type Members

  1. trait Distributor[A] extends AnyRef

  2. trait Hashable[-T, +R] extends (T) ⇒ R

    Type-class for generic hashing

  3. class KetamaDistributor[A] extends Distributor[A]

  4. case class KetamaNode[A](identifier: String, weight: Int, handle: A) extends Product with Serializable

  5. trait LowPriorityHashable extends AnyRef

  6. class SingletonDistributor[A] extends Distributor[A]

  7. trait KeyHasher extends AnyRef

    Hashes a key into a 32-bit or 64-bit number (depending on the algorithm).

    Hashes a key into a 32-bit or 64-bit number (depending on the algorithm).

    Annotations
    @deprecated
    Deprecated

    (Since version 6.12.1) Prefer Hashable[Array[Byte],Long]

Value Members

  1. object Hashable extends LowPriorityHashable

  2. object KeyHasher

    Commonly used key hashing algorithms.

Ungrouped