|
__init__(self,
partitions,
node,
N)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
_walk_cw(self,
start)
A generator that iterates all partitions, starting at the partition
provided |
source code
|
|
|
_walk_ccw(self,
start)
A generator that iterates all partitions backwards, starting at the
partition provided |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
_swap(self,
p1,
p2)
This swaps owner of p1 and p2 |
source code
|
|
|
|
|
|
|
|
|
update_node(self,
node,
claim,
force=False)
This will set the number of claimed partitions to 'claim' by
stealing/giving partitions at random |
source code
|
|
|
|
|
|
|
|
|
|
|
preferred(self,
key)
Returns tuple of (preferred, fallbacks) |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|