Class StoragePolicySatisfier.AttemptedItemInfo
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.sps.ItemInfo
org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier.AttemptedItemInfo
- Enclosing class:
- StoragePolicySatisfier
This class contains information of an attempted blocks and its last
attempted or reported time stamp. This is used by
BlockStorageMovementAttemptedItems.storageMovementAttemptedItems.-
Constructor Summary
ConstructorsConstructorDescriptionAttemptedItemInfo(long rootId, long trackId, long lastAttemptedOrReportedTime, Set<org.apache.hadoop.hdfs.protocol.Block> blocks, int retryCount) AttemptedItemInfo constructor. -
Method Summary
Methods inherited from class org.apache.hadoop.hdfs.server.namenode.sps.ItemInfo
getFile, getRetryCount, getStartPath, increRetryCount, isDir
-
Constructor Details
-
AttemptedItemInfo
public AttemptedItemInfo(long rootId, long trackId, long lastAttemptedOrReportedTime, Set<org.apache.hadoop.hdfs.protocol.Block> blocks, int retryCount) AttemptedItemInfo constructor.- Parameters:
rootId- rootId for trackIdtrackId- trackId for file.lastAttemptedOrReportedTime- last attempted or reported timeblocks- scheduled blocksretryCount- file retry count
-