public class SwapRestoreTask extends AbstractBlockManagementTask
AlignTask
s under variable block size.
It essentially does a full cascading evict followed by balancing of each directory.mBlockStore, mEvictorView, mExecutor, mLoadTracker, mMetadataManager, mTransferExecutor
Constructor and Description |
---|
SwapRestoreTask(BlockStore blockStore,
BlockMetadataManager metadataManager,
BlockMetadataEvictorView evictorView,
StoreLoadTracker loadTracker,
ExecutorService executor)
Creates a new swap-restore task.
|
public SwapRestoreTask(BlockStore blockStore, BlockMetadataManager metadataManager, BlockMetadataEvictorView evictorView, StoreLoadTracker loadTracker, ExecutorService executor)
blockStore
- the block storemetadataManager
- the meta managerevictorView
- the evictor viewloadTracker
- the load trackerexecutor
- the executorpublic BlockManagementTaskResult run()
BlockManagementTask
Copyright © 2023. All Rights Reserved.