Class BoundedRangeStatisticImpl

    • Field Detail

      • lowerBound

        private long lowerBound
      • upperBound

        private long upperBound
      • currentVal

        private long currentVal
      • highWaterMark

        private long highWaterMark
      • lowWaterMark

        private long lowWaterMark
      • initLowerBound

        private final long initLowerBound
      • initUpperBound

        private final long initUpperBound
      • initCurrentVal

        private final long initCurrentVal
      • initHighWaterMark

        private final long initHighWaterMark
      • initLowWaterMark

        private final long initLowWaterMark
    • Constructor Detail

      • BoundedRangeStatisticImpl

        public BoundedRangeStatisticImpl​(long curVal,
                                         long highMark,
                                         long lowMark,
                                         long upper,
                                         long lower,
                                         java.lang.String name,
                                         java.lang.String unit,
                                         java.lang.String desc,
                                         long startTime,
                                         long sampleTime)
    • Method Detail

      • setCurrent

        public void setCurrent​(long curVal)
      • getHighWaterMark

        public long getHighWaterMark()
        Description copied from interface: RangeStatistic
        The highest value this attribute has held since the beginninYg of the measurement.
        Specified by:
        getHighWaterMark in interface RangeStatistic
      • setHighWaterMark

        public void setHighWaterMark​(long hwm)
      • getLowWaterMark

        public long getLowWaterMark()
        Description copied from interface: RangeStatistic
        The lowest value this attribute has held since the beginning of the measurement.
        Specified by:
        getLowWaterMark in interface RangeStatistic
      • setLowWaterMark

        public void setLowWaterMark​(long lwm)
      • getLowerBound

        public long getLowerBound()
        Description copied from interface: BoundaryStatistic
        The lower limit of the value of this attribute.The upper limit of the value of this attribute.
        Specified by:
        getLowerBound in interface BoundaryStatistic
      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method m,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable