Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiRing ¶
type MultiRing interface {
Rings() []Ring
ByHashedString(key string) Ring
ByReservedHashedString(key string) Ring
}
func NewMultiRing ¶
type Ring ¶
type Ring interface {
ID() string
Actors() []*grid.ActorStart
ByInt(key int) string
ByUint32(key uint32) string
ByUint64(key uint64) string
ByHashedBytes(key []byte) string
ByHashedString(key string) string
ByRandom() string
}
Ring represents a set of actor members used to divide a data space into disjoint parts, each part owned by a particular actor in the ring.
Click to show internal directories.
Click to hide internal directories.