class
RankA class representing a rank to which objects are assigned.
Methods
- def _Rank__get_qoi_name(self, qoi_ftn) -> str
- Return the QOI name from the given QOI getter function
- def add_migratable_object(self, o: lbsObject.Object, fallback_collection_id: typing.Optional[int] = 7) -> None
- Add object to migratable objects.
- def add_sentinel_object(self, o: lbsObject.Object) -> None
- Add object to sentinel objects.
- Add rank shared memory block.
- def copy(self, rank)
- Specialized copy method.
- Try to delete shared memory block.
- def get_homed_blocks_ratio(*args, **kwargs)
- def get_id(*args, **kwargs)
- def get_load(*args, **kwargs)
- def get_max_memory_usage(*args, **kwargs)
- def get_max_object_level_memory(*args, **kwargs)
- def get_metadata(self) -> dict
- Return original metadata.
- def get_migratable_load(*args, **kwargs)
- def get_migratable_object_ids(self) -> list
- Return IDs of migratable objects assigned to rank.
- def get_migratable_objects(self) -> set
- Return migratable objects assigned to rank.
- def get_number_of_homed_blocks(*args, **kwargs)
- def get_number_of_migratable_objects(*args, **kwargs)
- def get_number_of_objects(*args, **kwargs)
- def get_number_of_sentinel_objects(*args, **kwargs)
- def get_number_of_uprooted_blocks(*args, **kwargs)
- def get_object_ids(self) -> list
- Return IDs of all objects assigned to rank.
- def get_objects(self) -> set
- Return all objects assigned to rank.
- def get_qois(self) -> list
- Get all methods decorated with the QOI decorator.
- def get_received_volume(*args, **kwargs)
- def get_sent_volume(*args, **kwargs)
- def get_sentinel_load(*args, **kwargs)
- def get_sentinel_object_ids(self) -> list
- Return IDs of sentinel objects assigned to rank.
- def get_sentinel_objects(self) -> set
- Return sentinel objects assigned to rank.
- Return shared memory block with given ID when it exists.
- Return IDs of shared blocks.
- def get_size(*args, **kwargs)
- def is_migratable(self, o: lbsObject.Object) -> bool
- Return whether given object is migratable.
- def is_sentinel(self, o: lbsObject.Object) -> bool
- Return whether given object is sentinel of rank.
- def remove_migratable_object(self, o: lbsObject.Object)
- Remove objects from migratable objects.
- def set_metadata(self, metadata: dict)
- Set rank's metadata.
- Set rank shared memory blocks.
- def set_size(self, size)
- Set rank working memory, called size.