public class ClusterNodeInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClusterNodeInfo.Flag |
Constructor and Description |
---|
ClusterNodeInfo(String nodeInfo) |
Modifier and Type | Method and Description |
---|---|
void |
addFlag(ClusterNodeInfo.Flag flag) |
void |
addSlotRange(ClusterSlotRange range) |
boolean |
containsFlag(ClusterNodeInfo.Flag flag) |
URI |
getAddress() |
String |
getNodeId() |
String |
getNodeInfo() |
String |
getSlaveOf() |
Set<ClusterSlotRange> |
getSlotRanges() |
void |
setAddress(String address) |
void |
setNodeId(String nodeId) |
void |
setSlaveOf(String slaveOf) |
String |
toString() |
public ClusterNodeInfo(String nodeInfo)
public String getNodeId()
public void setNodeId(String nodeId)
public URI getAddress()
public void setAddress(String address)
public void addSlotRange(ClusterSlotRange range)
public Set<ClusterSlotRange> getSlotRanges()
public boolean containsFlag(ClusterNodeInfo.Flag flag)
public void addFlag(ClusterNodeInfo.Flag flag)
public String getSlaveOf()
public void setSlaveOf(String slaveOf)
public String getNodeInfo()
Copyright © 2014–2019 The Redisson Project. All rights reserved.