Package org.redisson.connection
Class NodeSource
- java.lang.Object
-
- org.redisson.connection.NodeSource
-
public class NodeSource extends Object
- Author:
- Nikita Koksharov
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeSource.Redirect
-
Constructor Summary
Constructors Constructor Description NodeSource(Integer slot)
NodeSource(Integer slot, RedisClient redisClient)
NodeSource(Integer slot, RedisURI addr, NodeSource.Redirect redirect)
NodeSource(RedisClient redisClient)
NodeSource(MasterSlaveEntry entry)
NodeSource(MasterSlaveEntry entry, RedisClient redisClient)
NodeSource(NodeSource nodeSource, RedisClient redisClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RedisURI
getAddr()
MasterSlaveEntry
getEntry()
NodeSource.Redirect
getRedirect()
RedisClient
getRedisClient()
Integer
getSlot()
String
toString()
-
-
-
Constructor Detail
-
NodeSource
public NodeSource(NodeSource nodeSource, RedisClient redisClient)
-
NodeSource
public NodeSource(MasterSlaveEntry entry)
-
NodeSource
public NodeSource(Integer slot)
-
NodeSource
public NodeSource(MasterSlaveEntry entry, RedisClient redisClient)
-
NodeSource
public NodeSource(RedisClient redisClient)
-
NodeSource
public NodeSource(Integer slot, RedisClient redisClient)
-
NodeSource
public NodeSource(Integer slot, RedisURI addr, NodeSource.Redirect redirect)
-
-
Method Detail
-
getEntry
public MasterSlaveEntry getEntry()
-
getRedirect
public NodeSource.Redirect getRedirect()
-
getSlot
public Integer getSlot()
-
getRedisClient
public RedisClient getRedisClient()
-
getAddr
public RedisURI getAddr()
-
-