object KeyHasher
Commonly used key hashing algorithms.
- See also
KeyHashers for Java compatible forwarders.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- KeyHasher
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val CRC32_ITU: KeyHasher
- val FNV1A_32: KeyHasher
- val FNV1A_64: KeyHasher
- val FNV1_32: KeyHasher
- val FNV1_64: KeyHasher
- val HSIEH: KeyHasher
- val JENKINS: KeyHasher
-
val
KETAMA: KeyHasher
Ketama's default hash algorithm: the first 4 bytes of the MD5 as a little-endian int.
- val MURMUR3: KeyHasher
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
byName(name: String): KeyHasher
Return one of the key hashing algorithms by name.
Return one of the key hashing algorithms by name. This is used to configure a memcache client from a config file.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fromHashableInt(hashable: Hashable[Array[Byte], Int]): KeyHasher
- def fromHashableLong(hashable: Hashable[Array[Byte], Long]): KeyHasher
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()