com.twitter.hashing

KeyHasher

object KeyHasher

Commonly used key hashing algorithms.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. KeyHasher
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val CRC32_ITU: KeyHasher

  5. val FNV1A_32: KeyHasher

  6. val FNV1A_64: KeyHasher

  7. val FNV1_32: KeyHasher

  8. val FNV1_64: KeyHasher

  9. val HSIEH: KeyHasher

  10. val JENKINS: KeyHasher

  11. val KETAMA: KeyHasher

    Ketama's default hash algorithm: the first 4 bytes of the MD5 as a little-endian int.

    Ketama's default hash algorithm: the first 4 bytes of the MD5 as a little-endian int. Wow, really? Who thought that was a good way to do it? :(

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. 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.

  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def fromHashableInt(hashable: Hashable[Array[Byte], Int]): KeyHasher

  19. def fromHashableLong(hashable: Hashable[Array[Byte], Long]): KeyHasher

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped