- execute
Execute the task sometime in the future, using ThreadPools.
- <init>
Create a AsyncDiskServices with a set of volumes (specified by their root
directories). The AsyncDis
- addExecutorForVolume
- addVolume
Starts AsyncDiskService for a new volume
- deleteAsync
Delete the block file and meta file from the disk asynchronously, adjust dfsUsed
statistics accordin
- deleteSync
Delete the block file and meta file from the disk synchronously, adjust dfsUsed
statistics according
- removeVolume
Stops AsyncDiskService for a volume.
- shutdown
Gracefully shut down all ThreadPool. Will wait for all deletion tasks to finish.
- countPendingDeletions