#include <mng.h>
Collaboration diagram for block_manager:
Public Member Functions | |
template<class DiskAssgnFunctor, class BIDIteratorClass> | |
void | new_blocks (DiskAssgnFunctor functor, BIDIteratorClass bidbegin, BIDIteratorClass bidend) |
Allocates new blocks. | |
template<class BlockType, class DiskAssgnFunctor, class BIDIteratorClass> | |
void | new_blocks (const unsigned_type nblocks, DiskAssgnFunctor functor, BIDIteratorClass out) |
template<class BIDIteratorClass> | |
void | delete_blocks (const BIDIteratorClass &bidbegin, const BIDIteratorClass &bidend) |
Deallocates blocks. | |
template<unsigned BLK_SIZE> | |
void | delete_block (const BID< BLK_SIZE > &bid) |
Deallocates a block. |
Manages allocation and deallocation of blocks in multiple/single disk setting