Uses of Enum
net.rubyeye.xmemcached.HashAlgorithm
Packages that use HashAlgorithm
Package
Description
XMemcached's main classes and interfaces,use these classes/interfaces to interact with memcached servers.
Manage tcp connection,memcached protocol optimized,and some MBeans for monitor.
-
Uses of HashAlgorithm in net.rubyeye.xmemcached
Methods in net.rubyeye.xmemcached that return HashAlgorithmModifier and TypeMethodDescriptionstatic HashAlgorithm
Returns the enum constant of this type with the specified name.static HashAlgorithm[]
HashAlgorithm.values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of HashAlgorithm in net.rubyeye.xmemcached.impl
Fields in net.rubyeye.xmemcached.impl declared as HashAlgorithmModifier and TypeFieldDescriptionprivate final HashAlgorithm
KetamaMemcachedSessionLocator.hashAlg
private HashAlgorithm
ArrayMemcachedSessionLocator.hashAlgorighm
private final HashAlgorithm
ElectionMemcachedSessionLocator.hashAlgorithm
private HashAlgorithm
LibmemcachedMemcachedSessionLocator.hashAlgorithm
private HashAlgorithm
PHPMemcacheSessionLocator.hashAlgorithm
Methods in net.rubyeye.xmemcached.impl with parameters of type HashAlgorithmModifier and TypeMethodDescriptionprivate final void
KetamaMemcachedSessionLocator.buildMap
(Collection<Session> list, HashAlgorithm alg) private final void
LibmemcachedMemcachedSessionLocator.buildMap
(Collection<Session> list, HashAlgorithm alg) final void
ArrayMemcachedSessionLocator.setHashAlgorighm
(HashAlgorithm hashAlgorighm) final void
PHPMemcacheSessionLocator.setHashAlgorighm
(HashAlgorithm hashAlgorithm) Constructors in net.rubyeye.xmemcached.impl with parameters of type HashAlgorithmModifierConstructorDescriptionArrayMemcachedSessionLocator
(HashAlgorithm hashAlgorighm) ElectionMemcachedSessionLocator
(HashAlgorithm hashAlgorithm) KetamaMemcachedSessionLocator
(List<Session> list, HashAlgorithm alg) Create a KetamaMemcachedSessionLocator with a special hash algorithm.KetamaMemcachedSessionLocator
(HashAlgorithm alg, boolean cwNginxUpstreamConsistent) KetamaMemcachedSessionLocator
(HashAlgorithm alg, boolean cwNginxUpstreamConsistent, boolean gwhalinMemcachedJavaClientCompatibiltyConsistent) LibmemcachedMemcachedSessionLocator
(int numReps, HashAlgorithm hashAlgorithm) PHPMemcacheSessionLocator
(HashAlgorithm hashAlgorithm)