dragon.data.ddict.DDictManagerStats
- class DDictManagerStats[source]
Bases:
object
Included in manager stats are the manager identifier (0 to num_managers-1), the total number of bytes in the manager’s pool, the total used bytes in the manager’s pool, the number of key/value pairs stored in the manager, and the dictionary of free blocks. The free blocks has the block size and the number of free blocks of that size. If the pool is empty, then there will be one free block of the same size as the total number of bytes of the manager’s pool. Otherwise, free blocks can be used to see the amount of fragmentation within the pool by looking at the various block sizes and number of blocks available. NOTE: Any larger block (except the smallest block size) can be split into two smaller blocks for smaller allocations.
- __init__(manager_id: int , hostname: str , total_bytes: int , total_used_bytes: int , pool_free_space: int , pool_utilization: float , num_keys: int , free_blocks: dict , max_pool_allocations: int , max_pool_allocations_used: int , current_pool_allocations_used: int ) None
Methods
__init__
(manager_id, hostname, total_bytes, ...)Attributes