Class ICURWLock.Stats

  • Enclosing class:
    ICURWLock

    public static final class ICURWLock.Stats
    extends Object
    Internal class used to gather statistics on the RWLock.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int _mrc
      Number of times concurrent read access granted (multiple read count).
      int _rc
      Number of times read access granted (read count).
      int _wc
      Number of times write access granted (writer count).
      int _wrc
      Number of times blocked for read (waiting reader count).
      int _wwc
      Number of times blocked for write (waiting writer count).
    • Field Detail

      • _rc

        public int _rc
        Number of times read access granted (read count).
      • _mrc

        public int _mrc
        Number of times concurrent read access granted (multiple read count).
      • _wrc

        public int _wrc
        Number of times blocked for read (waiting reader count).
      • _wc

        public int _wc
        Number of times write access granted (writer count).
      • _wwc

        public int _wwc
        Number of times blocked for write (waiting writer count).
    • Method Detail

      • toString

        public String toString()
        Return a string listing all the stats.
        Overrides:
        toString in class Object
        Returns:
        a printable representation of this object.