Class BufferStats


  • public class BufferStats
    extends java.lang.Object
    Provides live statistics about Jute buffer usage in term of proposal and client request size.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int INIT_VALUE  
    • Constructor Summary

      Constructors 
      Constructor Description
      BufferStats()  
    • Constructor Detail

      • BufferStats

        public BufferStats()
    • Method Detail

      • getLastBufferSize

        public int getLastBufferSize()
        Size of the last buffer usage.
      • setLastBufferSize

        public void setLastBufferSize​(int value)
        Updates statistics by setting the last buffer usage size.
      • getMinBufferSize

        public int getMinBufferSize()
        Size of the smallest buffer usage.
      • getMaxBufferSize

        public int getMaxBufferSize()
        Size of the largest buffer usage.
      • reset

        public void reset()
        Reset statistics.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object