Documentation ¶
Index ¶
Constants ¶
View Source
const ClusterSlots = 16384
Variables ¶
View Source
var IndexOutOfBoundError = errors.New("index should be less than max size")
View Source
var IndexRangeError = errors.New("end index should be equal or greater than start index")
Functions ¶
This section is empty.
Types ¶
type SlotsManager ¶
type SlotsManager struct {
// contains filtered or unexported fields
}
func NewSlotsManager ¶
func NewSlotsManager() *SlotsManager
func (*SlotsManager) Count ¶
func (hs *SlotsManager) Count() uint64
func (*SlotsManager) ToSlotPair ¶
func (hs *SlotsManager) ToSlotPair() []SlotPair
Click to show internal directories.
Click to hide internal directories.