package hashing
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
class
ConsistentHashingDistributor[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
oldLibMemcachedVersionComplianceModeistruethe behavior will be reproduced.
- trait Distributor[A] extends AnyRef
- case class HashNode[A](identifier: String, weight: Int, handle: A) extends Product with Serializable
-
trait
Hashable[-T, +R] extends (T) ⇒ R
Type-class for generic hashing
-
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.
- trait LowPriorityHashable extends AnyRef
- class SingletonDistributor[A] extends Distributor[A]
Value Members
- object Hashable extends LowPriorityHashable
-
object
KeyHasher
Commonly used key hashing algorithms.
Commonly used key hashing algorithms.
- See also
KeyHashers for Java compatible forwarders.
-
object
KeyHashers
Java compatible forwarders.