Class StatisticImpl

    • Constructor Detail

      • StatisticImpl

        protected StatisticImpl​(String name,
                                String unit,
                                String description,
                                long startTime,
                                long lastSampleTime)
    • Method Detail

      • reset

        public void reset()
        Description copied from interface: Resettable
        Reset the statistic
        Specified by:
        reset in interface Resettable
      • updateSampleTime

        protected void updateSampleTime()
      • isEnabled

        public boolean isEnabled()
        Returns:
        the enabled
      • setEnabled

        public void setEnabled​(boolean enabled)
        Parameters:
        enabled - the enabled to set
      • isDoReset

        public boolean isDoReset()
        Returns:
        the doReset
      • setDoReset

        public void setDoReset​(boolean doReset)
        Parameters:
        doReset - the doReset to set
      • appendFieldDescription

        protected void appendFieldDescription​(StringBuffer buffer)