numerus/src/main/java/com/netflix/numerus/NumerusRollingNumber.java
public long getRollingMaxValue(NumerusRollingNumberEvent type) {
        long values[] = getValues(type);
        if (values.length == 0) {
            return 0;
        } else {
            Arrays.sort(values);
            return values[values.length - 1];
        }
    }
public long getRollingMaxValue(NumerusRollingNumberEvent type) {
        long values[] = getValues(type);
        if (values.length == 0) {
            return 0;
        } else {
            Arrays.sort(values);
            return values[values.length - 1];
        }
    }
Get the max value of values in all buckets for the given {@link NumerusRollingNumberEvent} type.
<p>
The {@link NumerusRollingNumberEvent} 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 NumerusRollingNumberEvent} type during rolling window