redis.clients.util
Class ClusterNodeInformation
java.lang.Object
redis.clients.util.ClusterNodeInformation
public class ClusterNodeInformation
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterNodeInformation
public ClusterNodeInformation(HostAndPort node)
addAvailableSlot
public void addAvailableSlot(int slot)
addSlotBeingImported
public void addSlotBeingImported(int slot)
addSlotBeingMigrated
public void addSlotBeingMigrated(int slot)
getNode
public HostAndPort getNode()
getAvailableSlots
public List<Integer> getAvailableSlots()
getSlotsBeingImported
public List<Integer> getSlotsBeingImported()
getSlotsBeingMigrated
public List<Integer> getSlotsBeingMigrated()
Copyright © 2014. All rights reserved.