
Public Member Functions | |
| NodeLocator | createLocator (List< MemcachedNode > nodes) |
| KetamaConnectionFactory () | |
| KetamaConnectionFactory (int qLen, int bufSize) | |
This implementation piggy-backs on the functionality of the DefaultConnectionFactory in terms of connections and queue handling. Where it differs is that it uses both the KetamaNodeLocator and the HashAlgorithm.KETAMA_HASH to provide consistent node hashing.
| KetamaConnectionFactory | ( | int | qLen, | |
| int | bufSize | |||
| ) |
Create a KetamaConnectionFactory with the given maximum operation queue length, and the given read buffer size.
Create a KetamaConnectionFactory with the default parameters.
| NodeLocator createLocator | ( | List< MemcachedNode > | nodes | ) |
Create a NodeLocator instance for the given list of nodes.
Reimplemented from DefaultConnectionFactory.
1.5.8