Package com.ibm.icu.impl
Class ICURWLock.Stats
- java.lang.Object
-
- com.ibm.icu.impl.ICURWLock.Stats
-
- Enclosing class:
- ICURWLock
public static final class ICURWLock.Stats extends java.lang.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).
-
Constructor Summary
Constructors Modifier Constructor Description private
Stats()
private
Stats(int rc, int mrc, int wrc, int wc, int wwc)
private
Stats(ICURWLock.Stats rhs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Return a string listing all the stats.
-
-
-
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).
-
-
Constructor Detail
-
Stats
private Stats()
-
Stats
private Stats(int rc, int mrc, int wrc, int wc, int wwc)
-
Stats
private Stats(ICURWLock.Stats rhs)
-
-