@Override
  public ObjectNode execute(final HttpServletRequest request) throws Exception {

    // get cluster object
    Cluster cluster = repository.getCluster();

    // json object to be sent as response
    ObjectNode responseJSON = mapper.createObjectNode();

    // cluster's Throughout Writes trend added to json response object
    // CircularFifoBuffer throughoutWritesTrend =
    // cluster.getThroughoutWritesTrend();
    double currentThroughputWrites = cluster.getDiskWritesRate();
    double currentThroughputReads = cluster.getDiskReadsRate();

    responseJSON.put("currentThroughputReads", currentThroughputReads);
    responseJSON.set("throughputReads",
        mapper.valueToTree(cluster.getStatisticTrend(Cluster.CLUSTER_STAT_THROUGHPUT_READS)));

    responseJSON.put("currentThroughputWrites", currentThroughputWrites);
    responseJSON.set("throughputWrites",
        mapper.valueToTree(cluster.getStatisticTrend(Cluster.CLUSTER_STAT_THROUGHPUT_WRITES)));

    // Send json response
    return responseJSON;
  }
Class ClusterDiskThroughput This class contains implementations for getting cluster's current
disk throughput details and its trend over time

@since GemFire version 7.0.Beta
geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/service/ClusterDiskThroughputService.java