Uses of Class
org.apache.hadoop.hdfs.server.namenode.sps.ItemInfo
Packages that use ItemInfo
Package
Description
This package provides a mechanism for satisfying the storage policy of a
path.
-
Uses of ItemInfo in org.apache.hadoop.hdfs.server.namenode.sps
Subclasses of ItemInfo in org.apache.hadoop.hdfs.server.namenode.spsModifier and TypeClassDescriptionstatic final classThis class contains information of an attempted blocks and its last attempted or reported time stamp.Methods in org.apache.hadoop.hdfs.server.namenode.sps that return ItemInfoModifier and TypeMethodDescriptionBlockStorageMovementNeeded.get()Gets the satisfier files for which block storage movements check necessary and make the movement if required.Methods in org.apache.hadoop.hdfs.server.namenode.sps with parameters of type ItemInfoModifier and TypeMethodDescriptionvoidAdd the candidate to tracking list for which storage movement expected if necessary.voidAdd the itemInfo to tracking list for which storage movement expected if necessary.voidSPSService.addFileToProcess(ItemInfo itemInfo, boolean scanCompleted) Adds the Item information(file etc) to processing queue.voidStoragePolicySatisfier.addFileToProcess(ItemInfo trackInfo, boolean scanCompleted) voidBlockStorageMovementNeeded.removeItemTrackInfo(ItemInfo trackInfo, boolean isSuccess) Decrease the pending child count for directory once one file blocks moved successfully.Method parameters in org.apache.hadoop.hdfs.server.namenode.sps with type arguments of type ItemInfoModifier and TypeMethodDescriptionvoidBlockStorageMovementNeeded.addAll(long startPath, List<ItemInfo> itemInfoList, boolean scanCompleted) Add the itemInfo list to tracking list for which storage movement expected if necessary.voidSPSService.addAllFilesToProcess(long startPathId, List<ItemInfo> itemInfoList, boolean scanCompleted) Adds all the Item information(file etc) to processing queue.voidStoragePolicySatisfier.addAllFilesToProcess(long startPath, List<ItemInfo> itemInfoList, boolean scanCompleted)