Class AbstractBundler.Statistics

  • Enclosing class:
    AbstractBundler

    protected static class AbstractBundler.Statistics
    extends Object
    Statistics class contains the latest bundler statistics.
    • Field Detail

      • m_cAverageBurstDuration

        protected int m_cAverageBurstDuration
        An average time for bundled request processing (burst).
      • m_cAverageBundleSize

        protected int m_cAverageBundleSize
        An average bundle size for this Bundler.
      • m_cAverageThreadWaitDuration

        protected int m_cAverageThreadWaitDuration
        An average thread waiting time caused by under-filled bundle. The wait time includes the time spend in the bundled request processing.
      • m_nAverageThroughput

        protected int m_nAverageThroughput
        An average bundled request throughput in size units per millisecond (total bundle size over total processing time)
      • m_cBundleCountSnapshot

        protected long m_cBundleCountSnapshot
        Snapshot for a total number of processed bundled.
      • m_cBundleSizeSnapshot

        protected long m_cBundleSizeSnapshot
        Snapshot for a total size of processed bundled.
      • m_cBurstDurationSnapshot

        protected long m_cBurstDurationSnapshot
        Snapshot for a burst duration.
      • m_cThreadWaitSnapshot

        protected long m_cThreadWaitSnapshot
        Snapshot for a combined thread waiting time.
    • Constructor Detail

      • Statistics

        protected Statistics()
    • Method Detail

      • reset

        protected void reset()
        Reset the statistics.
      • toString

        public String toString()
        Provide a human readable description for the Statistics object. (for debugging).
        Overrides:
        toString in class Object
        Returns:
        a human readable description for the Statistics object