code: public long getRollingMaxValue(HystrixRollingNumberEvent type) {
          long values[] = getValues(type);
          if (values.length == 0) {
              return 0;
          } else {
              Arrays.sort(values);
              return values[values.length - 1];
          }
      }
docs: Get the max value of values in all buckets for the given {@link HystrixRollingNumberEvent} type.
  <p>
  The {@link HystrixRollingNumberEvent} must be a "max updater" type <code>HystrixRollingNumberEvent.isMaxUpdater() == true</code>.
  
  @param type
  HystrixRollingNumberEvent defining which "max updater" to retrieve values from
  @return max value for given {@link HystrixRollingNumberEvent} type during rolling window