Index

C E F G H I K L M N R S T 
All Classes and Interfaces|All Packages

C

call() - Method in class com.reve.redis.cluster.command.HINCRBYFLOAT
 
call() - Method in class com.reve.redis.cluster.Connector
Asynchronous call to connect the redis cluster
ClusterObserver - Class in com.reve.redis.cluster
This class holds all the information about a cluster.
ClusterObserver(String, int, String) - Constructor for class com.reve.redis.cluster.ClusterObserver
Create an observer instance
ClusterObserver(String, int, String, int) - Constructor for class com.reve.redis.cluster.ClusterObserver
Create an observer instance
ClusterObserver(String, String) - Constructor for class com.reve.redis.cluster.ClusterObserver
Create an observer instance
com.reve.redis.cluster - package com.reve.redis.cluster
 
com.reve.redis.cluster.command - package com.reve.redis.cluster.command
 
com.reve.redis.cluster.slot - package com.reve.redis.cluster.slot
 
Connector - Class in com.reve.redis.cluster
This class will asynchronously connect to the redis cluster.
Connector(LinkedBlockingQueue<JedisCluster>, Set<HostAndPort>, String, SSLConfiguration) - Constructor for class com.reve.redis.cluster.Connector
Creates a connector process which can be run bu ExecutorService in background

E

execute(String, ClusterObserver) - Static method in class com.reve.redis.cluster.command.KEYS
 

F

freeConnection(JedisCluster) - Method in class com.reve.redis.cluster.ClusterObserver
Whenever we are done with a JedisCluster instance.

G

getClusterConnection() - Method in class com.reve.redis.cluster.ClusterObserver
Get an instance of JedisCluster.
getClusterNodes() - Method in class com.reve.redis.cluster.ClusterObserver
 
getConnection() - Method in class com.reve.redis.cluster.Node
Get a jedis connection from connection pool.
getHostIp() - Method in class com.reve.redis.cluster.Node
 
getHostIpPort() - Method in class com.reve.redis.cluster.Node
 
getHostPort() - Method in class com.reve.redis.cluster.Node
 
getKeyForSlot(int) - Static method in class com.reve.redis.cluster.slot.SlotKeys
Returns a unique key pointing to the corresponding slot
getMyNode() - Method in class com.reve.redis.cluster.ClusterObserver
My node is the cluster Node this ClusterObserver treating as the closest node This value is configured by user
getNextFreeSlotKey() - Method in class com.reve.redis.cluster.Node
Only master node serves slot, so if this Node is a master it will return slot key that points to this node.
getSlotKeyForTable(String) - Method in class com.reve.redis.cluster.Node
If it is aimed that each table should use a unique slot key, this method ensure a fixed slot key for specified table
getSlotKeysForTable(String) - Method in class com.reve.redis.cluster.ClusterObserver
Get the slot key list for the specified table.
getTotalKeySize() - Static method in class com.reve.redis.cluster.slot.SlotKeys
 

H

HINCRBYFLOAT - Class in com.reve.redis.cluster.command
Asynchronously callable HINCRBYFLOAT command class.
HINCRBYFLOAT(JedisCluster, String, String, double) - Constructor for class com.reve.redis.cluster.command.HINCRBYFLOAT
 

I

isMaster() - Method in class com.reve.redis.cluster.Node
 

K

KEYS - Class in com.reve.redis.cluster.command
Asynchronously callable KEYS command class.
KEYS() - Constructor for class com.reve.redis.cluster.command.KEYS
 

L

loadClusterNodes() - Method in class com.reve.redis.cluster.ClusterObserver
Reads the cluster and saves all the nodes running in this cluster

M

maxSlot - Variable in class com.reve.redis.cluster.slot.SlotRange
Ending slot number of this range
minSlot - Variable in class com.reve.redis.cluster.slot.SlotRange
Starting slot number of this range

N

Node - Class in com.reve.redis.cluster
This is a Cluster node.
Node(String) - Constructor for class com.reve.redis.cluster.Node
Creates a node from string information

R

RedisCommand - Interface in com.reve.redis.cluster.command
 

S

saveSlotKeyForTable(String, String) - Method in class com.reve.redis.cluster.ClusterObserver
Save a slot key for the table specified.
saveSlotKeyIfMine(String, String) - Method in class com.reve.redis.cluster.Node
This method checks if the given slot key belongs to this node.
setConnection(ConnectionPool) - Method in class com.reve.redis.cluster.Node
Set the connection pool for this node.
setSslConfiguration(SSLConfiguration) - Method in class com.reve.redis.cluster.ClusterObserver
If ssl enabled for this redis cluster, then an instance of SSLConfiguration must be set before creating any connection to the cluster
SlotKeys - Class in com.reve.redis.cluster.slot
This class contains all 16384 keys, each of them pointing to different key slot.
SlotKeys() - Constructor for class com.reve.redis.cluster.slot.SlotKeys
 
SlotRange - Class in com.reve.redis.cluster.slot
A node can contain multiple SlotRange which is the result of re-sharding the cluster This class is aimed to contain the minimum and maximum slot number for such a slot range
SlotRange(String) - Constructor for class com.reve.redis.cluster.slot.SlotRange
Parse the slot range from String value and assign it to minSlot and maxSlot parameter

T

toString() - Method in class com.reve.redis.cluster.Node
Implementation of to string method
toString() - Method in class com.reve.redis.cluster.slot.SlotRange
 
C E F G H I K L M N R S T 
All Classes and Interfaces|All Packages