Packages

p

com.twitter

hashing

package hashing

Ordering
  1. Alphabetic
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]

    Note

    Certain versions of libmemcached return subtly different results for points on ring. In order to always hash a key to the same server as the clients who depend on those versions of libmemcached, we have to reproduce their result. If the oldLibMemcachedVersionComplianceMode is true the behavior will be reproduced.

  4. case class KetamaNode[A](identifier: String, weight: Int, handle: A) extends Product with Serializable
  5. 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).

    See also

    the companion object for common implementations.

  6. trait LowPriorityHashable extends AnyRef
  7. class SingletonDistributor[A] extends Distributor[A]

Value Members

  1. object Hashable extends LowPriorityHashable
  2. object KeyHasher

    Commonly used key hashing algorithms.

    Commonly used key hashing algorithms.

    See also

    KeyHashers for Java compatible forwarders.

  3. object KeyHashers

    Java compatible forwarders.

Ungrouped