StoragePolicySatisfier.AttemptedItemInfo (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.namenode.sps, class: StoragePolicySatisfier, class: AttemptedItemInfo

Package org.apache.hadoop.hdfs.server.namenode.sps

# 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

public static final class StoragePolicySatisfier.AttemptedItemInfo extends ItemInfo
This class contains information of an attempted blocks and its last attempted or reported time stamp. This is used by `BlockStorageMovementAttemptedItems.storageMovementAttemptedItems`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AttemptedItemInfo(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`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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 trackId
      `trackId` - trackId for file.
      `lastAttemptedOrReportedTime` - last attempted or reported time
      `blocks` - scheduled blocks
      `retryCount` - file retry count