class HystrixRollingNumber {

    public long getRollingMaxValue(HystrixRollingNumberEvent type) {
        long values[] = getValues(type);
        if (values.length == 0) {
            return 0;
        } else {
            Arrays.sort(values);
            return values[values.length - 1];
        }
    }

    @Deprecated public  HystrixRollingNumber(HystrixProperty<Integer> timeInMilliseconds, HystrixProperty<Integer> numberOfBuckets);
    public  HystrixRollingNumber(int timeInMilliseconds, int numberOfBuckets);
      HystrixRollingNumber(Time time, int timeInMilliseconds, int numberOfBuckets);

}