Package | Description |
---|---|
org.aredis.cache |
Contains the core aredis related classes.
|
Modifier and Type | Class and Description |
---|---|
class |
ConsistentKeyHasher
Consistent Hashing Algorithm derived from the one in SpyMemcached memcached client.
|
class |
JavaKeyHasher
A basic Key Hasher which takes the java hashcode of the key and assigns the index got by the reminder when the
hashcode is divided by the number of servers.
|
Modifier and Type | Method and Description |
---|---|
KeyHasher |
ShardedAsyncRedisClient.getKeyHasher()
Gets the Keyhasher being used
|
Modifier and Type | Method and Description |
---|---|
void |
ShardedAsyncRedisClient.setKeyHasher(KeyHasher pkeyHasher)
Sets the Keyhasher
|
Constructor and Description |
---|
ShardedAsyncRedisClient(List<AsyncRedisConnection> pconnections,
Executor pexecutor,
KeyHasher pkeyHasher)
It is preferable to use
AsyncRedisFactory than this constructor. |
Copyright © 2013- Suresh Mahalingam. All Rights Reserved.