redis.clients.util
Class ClusterNodeInformation

java.lang.Object
  extended by redis.clients.util.ClusterNodeInformation

public class ClusterNodeInformation
extends Object


Constructor Summary
ClusterNodeInformation(HostAndPort node)
           
 
Method Summary
 void addAvailableSlot(int slot)
           
 void addSlotBeingImported(int slot)
           
 void addSlotBeingMigrated(int slot)
           
 List<Integer> getAvailableSlots()
           
 HostAndPort getNode()
           
 List<Integer> getSlotsBeingImported()
           
 List<Integer> getSlotsBeingMigrated()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterNodeInformation

public ClusterNodeInformation(HostAndPort node)
Method Detail

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.