Search in sources :

Example 1 with StorageTierAllocatorView

use of alluxio.worker.block.meta.StorageTierAllocatorView in project alluxio by Alluxio.

the class BlockMetadataAllocatorView method initializeView.

@Override
public void initializeView() {
    // iteratively create all StorageTierViews and StorageDirViews
    for (StorageTier tier : mMetadataManager.getTiers()) {
        StorageTierAllocatorView tierView = new StorageTierAllocatorView(tier, mUseReservedSpace);
        mTierViews.add(tierView);
        mAliasToTierViews.put(tier.getTierAlias(), tierView);
    }
}
Also used : StorageTierAllocatorView(alluxio.worker.block.meta.StorageTierAllocatorView) StorageTier(alluxio.worker.block.meta.StorageTier)

Aggregations

StorageTier (alluxio.worker.block.meta.StorageTier)1 StorageTierAllocatorView (alluxio.worker.block.meta.StorageTierAllocatorView)1