public Object[] getRegionOnMemberStatisticTrend(int trendId) {

      Object[] returnArray = null;
      switch (trendId) {
        case REGION_ON_MEMBER_STAT_GETS_PER_SEC_TREND:
          synchronized (getsPerSecTrend) {
            returnArray = getsPerSecTrend.toArray();
          }
          break;

        case REGION_ON_MEMBER_STAT_PUTS_PER_SEC_TREND:
          synchronized (putsPerSecTrend) {
            returnArray = putsPerSecTrend.toArray();
          }
          break;

        case REGION_ON_MEMBER_STAT_DISK_READS_PER_SEC_TREND:
          synchronized (diskReadsPerSecTrend) {
            returnArray = diskReadsPerSecTrend.toArray();
          }
          break;

        case REGION_ON_MEMBER_STAT_DISK_WRITES_PER_SEC_TREND:
          synchronized (diskWritesPerSecTrend) {
            returnArray = diskWritesPerSecTrend.toArray();
          }
          break;
      }

      return returnArray;
    }
@param diskWritesPerSecTrend the diskWritesPerSecTrend to set
geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/data/Cluster.java