Package | Description |
---|---|
org.aredis.cache |
Contains the core aredis related classes.
|
org.aredis.net |
Contains classes used by aredis for NIO based asynchronous socket communication.
|
Modifier and Type | Method and Description |
---|---|
AsyncSocketTransportFactory |
AsyncRedisFactory.getSubscriptionTransportFactory()
Gets the Transport Factory used for RedisSuubscription service or null if none is set.
|
AsyncSocketTransportFactory |
AsyncRedisFactory.getTransportFactory()
Gets the default Transport Factory which is also used for AsyncRedisConnections.
|
AsyncSocketTransportFactory |
AsyncRedisFactory.pgetPoolTransportFactory()
Gets the Transport Factory used when creating a connection pool.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncRedisFactory.setPoolTransportFactory(AsyncSocketTransportFactory ppoolTransportFactory)
Sets the Transport Factory to use when creating a connection pool.
|
void |
AsyncRedisFactory.setSubscriptionTransportFactory(AsyncSocketTransportFactory psubscriptionTransportFactory)
Sets the Transport Factory to Use for RedisSuubscription service.
|
Constructor and Description |
---|
AsyncRedisConnectionPoolManager(AsyncSocketTransportFactory pconnectionFactory,
RedisServerInfo predisServerInfo,
Executor pexecutor,
int pshutdownDelay)
Creates a Pool Member manager with necessary information to create
AsyncRedisConnection objects. |
AsyncRedisFactory(AsyncSocketTransportFactory ptransportFactory,
Executor pexecutor)
Creates an AsyncRedisFactory Object with a default pool size of 10 and Shutdown delay of 10 seconds.
|
AsyncRedisFactory(AsyncSocketTransportFactory ptransportFactory,
Executor pexecutor,
int ppoolSize,
int pshutdownDelay)
Creates an AsyncRedisFactory Object.
|
PerConnectionRedisClassDescriptorStorageFactory(AsyncSocketTransportFactory pasyncSocketTransportFactory)
Creates a factory object.
|
PerConnectionRedisClassDescriptorStorageFactory(AsyncSocketTransportFactory pasyncSocketTransportFactory,
int pdbIndex)
Creates a factory object.
|
RedisClassDescriptorStorageFactory(RedisServerInfo redisServerInfo,
String pdescriptorsKey,
AsyncSocketTransportFactory asyncSocketTransportFactory)
Creates a factory along with the
RedisClassDescriptorStorage to return. |
Modifier and Type | Field and Description |
---|---|
protected static AsyncSocketTransportFactory |
AsyncSocketTransportFactory.defaultFactory
Default factory which is returned by the singleton method getDefault.
|
protected AsyncSocketTransportFactory |
AbstractAsyncSocketTransport.transportFactory |
Modifier and Type | Method and Description |
---|---|
static AsyncSocketTransportFactory |
AsyncSocketTransportFactory.getDefault()
Singleton method to return defaultFactory.
|
AsyncSocketTransportFactory |
AbstractAsyncSocketTransport.getTransportFactory()
Returns the transportFactory for this connection.
|
Constructor and Description |
---|
AsyncJavaSocketTransport(String phost,
int pport,
AsyncSocketTransportFactory ptransportFactory)
Creates an AsyncJavaSocketTransport.
|
Copyright © 2013- Suresh Mahalingam. All Rights Reserved.