Class TimeStatsAbstractImpl

    • Field Detail

      • NEWLINE

        protected static final String NEWLINE
      • startTime

        protected long startTime
    • Constructor Detail

      • TimeStatsAbstractImpl

        public TimeStatsAbstractImpl()
    • Method Detail

      • getTime

        public double getTime()
        Specified by:
        getTime in interface TimeStats
      • postEntry

        protected void postEntry​(long entryTime)
      • postExit

        public void postExit​(long exitTime)
      • setTime

        public void setTime​(long time)
        Specified by:
        setTime in interface TimeStats
      • setReset

        public void setReset​(boolean reset)
        Specified by:
        setReset in interface TimeStats
      • getCount

        public long getCount()
        Specified by:
        getCount in interface org.glassfish.external.statistics.TimeStatistic
      • getMaxTime

        public long getMaxTime()
        Specified by:
        getMaxTime in interface org.glassfish.external.statistics.TimeStatistic
      • getMinTime

        public long getMinTime()
        Specified by:
        getMinTime in interface org.glassfish.external.statistics.TimeStatistic
      • getTotalTime

        public long getTotalTime()
        Specified by:
        getTotalTime in interface org.glassfish.external.statistics.TimeStatistic
      • getLastSampleTime

        public long getLastSampleTime()
        Specified by:
        getLastSampleTime in interface org.glassfish.external.statistics.Statistic
      • getStartTime

        public long getStartTime()
        Specified by:
        getStartTime in interface org.glassfish.external.statistics.Statistic