- addINode
- nodeIterator
Returned Iterator does not support.
- removeNode
Remove data-node reference from the block. Remove the block from the block map
only if it does not b
- checkBlockInfo
Add BlockInfo if mapping does not exist.
- getINode
- getStoredBlock
Returns the block object it it exists in the map.
- numNodes
counts number of containing nodes. Better than using iterator.
- removeBlock
Remove the block from the block map; remove it from all data-node lists it
belongs to; and remove al
- size
- close
- computeCapacity
Let t = 2% of max memory. Let e = round(log_2 t). Then, we choose capacity =
2^e/(size of reference)
- contains
Check if the replica at the given datanode exists in map