Modifier and Type | Method and Description |
---|---|
long |
getAcquireCount()
Gets the total number of times the lock was acquired
while it was inflated.
|
long |
getAverageHoldTime()
Gets the average amount of time the lock was held for.
|
double |
getContention()
Gets the percentage of total acquires for which the thread had to block
before it could take the lock.
|
java.lang.String |
getName()
Gets the name of this monitor.
|
long |
getRecursiveCount()
Gets the total number of times the thread requested the lock when
it already owned it.
|
long |
getSlowCount()
Gets the total number of times the thread had to wait to acquire the lock.
|
double |
getUtilisation()
Gets the percentage of monitoring time that the lock was held for.
|
double getContention()
long getAcquireCount()
long getSlowCount()
long getRecursiveCount()
double getUtilisation()
long getAverageHoldTime()
java.lang.String getName()