public class ClusterNodeInformation extends Object
| Constructor and Description |
|---|
ClusterNodeInformation(HostAndPort node) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAvailableSlot(int slot) |
void |
addSlotBeingImported(int slot) |
void |
addSlotBeingMigrated(int slot) |
List<Integer> |
getAvailableSlots() |
HostAndPort |
getNode() |
List<Integer> |
getSlotsBeingImported() |
List<Integer> |
getSlotsBeingMigrated() |
public ClusterNodeInformation(HostAndPort node)
public void addAvailableSlot(int slot)
public void addSlotBeingImported(int slot)
public void addSlotBeingMigrated(int slot)
public HostAndPort getNode()
Processing library Redis by Darius Morawiec. (c) 2015