Package | Description |
---|---|
org.aredis.cache |
Contains the core aredis related classes.
|
Modifier and Type | Method and Description |
---|---|
AsyncRedisConnection |
AsyncRedisConnectionPoolManager.createObject()
Creates an AsyncRedisConnection.
|
AsyncRedisConnection |
AsyncRedisFactory.getConnection(RedisServerInfo redisServerInfo)
Returns an AsycRedisConnection.
|
AsyncRedisConnection |
AsyncRedisFactory.getConnection(RedisServerInfo redisServerInfo,
Executor pexecutor)
Returns an AsycRedisConnection.
|
Modifier and Type | Method and Description |
---|---|
AsyncObjectPool<AsyncRedisConnection> |
AsyncRedisFactory.getConnectionPool(RedisServerInfo redisServerInfo)
Returns a connection pool for use in Redis Transactions with WATCH-MULTI-EXEC commands.
|
AsyncObjectPool<AsyncRedisConnection> |
AsyncRedisFactory.getConnectionPool(RedisServerInfo redisServerInfo,
Executor pexecutor)
Returns a connection pool for use in Redis Transactions with WATCH-MULTI-EXEC commands.
|
AsyncObjectPool<AsyncRedisConnection> |
AsyncRedisFactory.getConnectionPool(String connectionString)
Returns an AsyncObjectPool holding AsyncRedisConnection objects for WATCH-MULTI-EXEC redis transactions.
|
AsyncObjectPool<AsyncRedisConnection> |
AsyncRedisFactory.getConnectionPool(String connectionString,
Executor pexecutor)
Returns an AsyncObjectPool holding AsyncRedisConnection objects for WATCH-MULTI-EXEC redis transactions.
|
List<AsyncRedisConnection> |
ShardedAsyncRedisClient.getConnections()
Gets List of connections
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncRedisConnectionPoolManager.beforeReturn(AsyncRedisConnection con) |
void |
AsyncRedisConnectionPoolManager.destroyObject(AsyncRedisConnection con) |
int |
ConsistentKeyHasher.getConnectionIndex(String key,
AsyncRedisConnection[] pconnections,
boolean useOnlyActive) |
int |
JavaKeyHasher.getConnectionIndex(String key,
AsyncRedisConnection[] connections,
boolean useOnlyActive) |
int |
KeyHasher.getConnectionIndex(String key,
AsyncRedisConnection[] connections,
boolean useOnlyActive)
Returns the connection index for a key
|
static int |
ShardedAsyncRedisClient.getUseableConnections(AsyncRedisConnection[] connections,
boolean[] useable)
Untility Method for use by KeyHashers to return the useable connections.
|
void |
AsyncRedisConnectionPoolManager.onBorrow(AsyncRedisConnection con) |
Constructor and Description |
---|
ConsistentKeyHasher(AsyncRedisConnection[] pconnections)
Creates a Consistent Key Hasher with 180 hashes per connection and CRC_HASH as the Hash Algorithm.
|
ConsistentKeyHasher(AsyncRedisConnection[] pconnections,
int phashesPerConnection,
HashAlgorithm phashAlg)
Creates a Consistent Key Hasher.
|
RedisClassDescriptorStorage(AsyncRedisConnection paredis)
Creates a storage for the given Redis Connection with the defalt key "JAVA_CL_DESCRIPTORS".
|
RedisClassDescriptorStorage(AsyncRedisConnection paredis,
String pdescriptorsKey,
int pdbIndex)
Creates a storage for the given Redis Connection and descriptors key.
|
Constructor and Description |
---|
ShardedAsyncRedisClient(List<AsyncRedisConnection> pconnections)
Basic Constructor.
|
ShardedAsyncRedisClient(List<AsyncRedisConnection> pconnections,
Executor pexecutor)
Constructor which uses ConsistentKeyHasher as default.
|
ShardedAsyncRedisClient(List<AsyncRedisConnection> pconnections,
Executor pexecutor,
KeyHasher pkeyHasher)
It is preferable to use
AsyncRedisFactory than this constructor. |
Copyright © 2013- Suresh Mahalingam. All Rights Reserved.