Class ICURWLock.Stats

java.lang.Object
com.ibm.icu.impl.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
    Number of times concurrent read access granted (multiple read count).
    int
    Number of times read access granted (read count).
    int
    Number of times write access granted (writer count).
    int
    Number of times blocked for read (waiting reader count).
    int
    Number of times blocked for write (waiting writer count).
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
    private
    Stats(int rc, int mrc, int wrc, int wc, int wwc)
     
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a string listing all the stats.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • _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).
  • Constructor Details

    • Stats

      private Stats()
    • Stats

      private Stats(int rc, int mrc, int wrc, int wc, int wwc)
    • Stats

      private Stats(ICURWLock.Stats rhs)
  • Method Details

    • toString

      public String toString()
      Return a string listing all the stats.
      Overrides:
      toString in class Object