public class NodeSource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NodeSource.Redirect |
Modifier and Type | Field and Description |
---|---|
static NodeSource |
ZERO |
Constructor and Description |
---|
NodeSource(Integer slot) |
NodeSource(Integer slot,
InetSocketAddress addr) |
NodeSource(Integer slot,
InetSocketAddress addr,
NodeSource.Redirect redirect) |
NodeSource(MasterSlaveEntry entry) |
NodeSource(MasterSlaveEntry entry,
InetSocketAddress addr) |
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
getAddr() |
MasterSlaveEntry |
getEntry() |
NodeSource.Redirect |
getRedirect() |
Integer |
getSlot() |
String |
toString() |
public static final NodeSource ZERO
public NodeSource(MasterSlaveEntry entry)
public NodeSource(MasterSlaveEntry entry, InetSocketAddress addr)
public NodeSource(Integer slot)
public NodeSource(Integer slot, InetSocketAddress addr)
public NodeSource(Integer slot, InetSocketAddress addr, NodeSource.Redirect redirect)
public MasterSlaveEntry getEntry()
public NodeSource.Redirect getRedirect()
public Integer getSlot()
public InetSocketAddress getAddr()
Copyright © 2014–2017 The Redisson Project. All rights reserved.