Class ByteBufPool.Entry

java.lang.Object
io.activej.bytebuf.ByteBufPool.Entry
Enclosing class:
ByteBufPool

public static final class ByteBufPool.Entry extends Object
Stores information about ByteBufs for stats.

It is a helper class which contains size, timestamp and stackTrace which represent information about the ByteBufs.

  • Method Details

    • getSize

      public int getSize()
    • getTimestamp

      public long getTimestamp()
    • getAge

      public String getAge()
    • getThread

      public String getThread()
    • getStackTrace

      public List<String> getStackTrace()
    • toString

      public String toString()
      Overrides:
      toString in class Object