public static class RedisClusterNode.SlotRange extends Object
Constructor and Description |
---|
SlotRange(Collection<Integer> range) |
SlotRange(Integer lowerBound,
Integer upperBound) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int slot) |
Set<Integer> |
getSlots() |
int[] |
getSlotsArray() |
String |
toString() |
public SlotRange(Integer lowerBound, Integer upperBound)
lowerBound
- must not be null.upperBound
- must not be null.public SlotRange(Collection<Integer> range)
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.