DataNodeUsageReportUtil (Apache Hadoop HDFS Client 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.protocol, class: DataNodeUsageReportUtil

Package org.apache.hadoop.hdfs.server.protocol

# Class DataNodeUsageReportUtil

java.lang.Object
org.apache.hadoop.hdfs.server.protocol.DataNodeUsageReportUtil

@Private @Unstable public final class DataNodeUsageReportUtil extends Object
This class is helper class to generate a live usage report by calculating the delta between current DataNode usage metrics and the usage metrics captured at the time of the last report.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DataNodeUsageReportUtil()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DataNodeUsageReport`
  `getUsageReport(long bWritten, long bRead, long wTime, long rTime, long wBlockOp, long rBlockOp, long timeSinceLastReport)`

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

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

- ## Constructor Details

  - ### DataNodeUsageReportUtil

    public DataNodeUsageReportUtil()

- ## Method Details

  - ### getUsageReport

    public DataNodeUsageReport getUsageReport(long bWritten, long bRead, long wTime, long rTime, long wBlockOp, long rBlockOp, long timeSinceLastReport)