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 | Class and Description |
---|---|
class |
RedisServerInfo
Identifies a Redis server with its host, port and dbIndex.
|
Modifier and Type | Method and Description |
---|---|
Object |
BinaryHandler.deserialize(Object metaData,
byte[] b,
int offset,
int len,
ServerInfo serverInfo) |
Object |
DataHandler.deserialize(Object metaData,
byte[] b,
int offset,
int len,
ServerInfo serverInfo)
de-serialize value
|
Object |
JavaHandler.deserialize(Object metaData,
byte[] b,
int offset,
int len,
ServerInfo serverInfo) |
Object |
StringHandler.deserialize(Object metaData,
byte[] b,
int offset,
int len,
ServerInfo serverInfo) |
static String |
AsyncRedisFactory.getAuth(ServerInfo serverInfo)
Gets the Configured Authentication for the given serverInfo.
|
ClassDescriptorStorage |
ClassDescriptorStorageFactory.getStorage(ServerInfo conInfo)
Gets the store to use.
|
RedisClassDescriptorStorage |
PerConnectionRedisClassDescriptorStorageFactory.getStorage(ServerInfo conInfo)
Gets the storage to use for the passed server.
|
RedisClassDescriptorStorage |
RedisClassDescriptorStorageFactory.getStorage(ServerInfo conInfo)
Returns the storage.
|
void |
BinaryHandler.serialize(Object data,
Object metaData,
CompressibleByteArrayOutputStream op,
ServerInfo serverInfo)
The data to serialize must be a byte array.
|
void |
DataHandler.serialize(Object data,
Object metaData,
CompressibleByteArrayOutputStream op,
ServerInfo serverInfo)
Serialze value
|
void |
JavaHandler.serialize(Object data,
Object metaData,
CompressibleByteArrayOutputStream op,
ServerInfo serverInfo) |
void |
StringHandler.serialize(Object data,
Object metaData,
CompressibleByteArrayOutputStream op,
ServerInfo serverInfo)
The data to serialize must be a String.
|
static void |
AsyncRedisFactory.setAuth(ServerInfo serverInfo,
String auth)
Sets Password for authentication if the redis server is configured with a password via requirepass
directive in redis.conf.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncSocketTransport
Specifies an Async Socket Transport interface that can be used by
AsyncRedisConnection to connect to a Redis Server. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAsyncSocketTransport
Provides a base implementation of AsyncSocketTransport which provides connection status handling and a retry mechanism.
|
class |
AsyncJavaSocketTransport
Java 7 NIO Channel API based default implementation of
AsyncSocketTransport . |
Modifier and Type | Method and Description |
---|---|
static ServerInfo |
ServerInfoComparator.findItem(ServerInfo serverInfo,
SortedArray.IndexUpdater indexUpdater)
Find a ServerInfo or creates it.
|
Modifier and Type | Method and Description |
---|---|
int |
ServerInfoComparator.compare(ServerInfo s1,
ServerInfo s2) |
static ServerInfo |
ServerInfoComparator.findItem(ServerInfo serverInfo,
SortedArray.IndexUpdater indexUpdater)
Find a ServerInfo or creates it.
|
Copyright © 2013- Suresh Mahalingam. All Rights Reserved.