public class NodeSource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NodeSource.Redirect |
Constructor and Description |
---|
NodeSource(Integer slot,
RedisClient redisClient) |
NodeSource(Integer slot,
RedisURI addr,
NodeSource.Redirect redirect) |
NodeSource(MasterSlaveEntry entry) |
NodeSource(MasterSlaveEntry entry,
Integer slot) |
NodeSource(MasterSlaveEntry entry,
RedisClient redisClient) |
NodeSource(RedisClient redisClient) |
Modifier and Type | Method and Description |
---|---|
RedisURI |
getAddr() |
MasterSlaveEntry |
getEntry() |
NodeSource.Redirect |
getRedirect() |
RedisClient |
getRedisClient() |
Integer |
getSlot() |
String |
toString() |
public NodeSource(MasterSlaveEntry entry)
public NodeSource(MasterSlaveEntry entry, Integer slot)
public NodeSource(MasterSlaveEntry entry, RedisClient redisClient)
public NodeSource(RedisClient redisClient)
public NodeSource(Integer slot, RedisClient redisClient)
public NodeSource(Integer slot, RedisURI addr, NodeSource.Redirect redirect)
public MasterSlaveEntry getEntry()
public NodeSource.Redirect getRedirect()
public Integer getSlot()
public RedisClient getRedisClient()
public RedisURI getAddr()
Copyright © 2014–2020 Redisson. All rights reserved.