Interface LockingEvent
- All Superinterfaces:
BaseEvent
- All Known Implementing Classes:
LockingEventObject
This class defines the values returned when a locking event takes place and
is used by the LockingEventListener interface
-
Method Summary
Modifier and TypeMethodDescriptionlongintintintintintintintbooleanMethods inherited from interface com.ibm.java.diagnostics.healthcenter.api.BaseEvent
getEventTime
-
Method Details
-
getLockName
String getLockName()- Returns:
- the name of the monitor
-
getPercentMiss
int getPercentMiss()- Returns:
- the percentage of acquire thats blocked
-
getTotalGets
int getTotalGets()- Returns:
- total number of times the monitor was requested
-
getSlowAcquire
int getSlowAcquire()- Returns:
- total number of times the monitor was blocked
-
getRecursiveAcquires
int getRecursiveAcquires()- Returns:
- total number of recursive acquires
-
getTier2Spins
int getTier2Spins()- Returns:
- number of times tier2 spinning took place
-
getTier3Spins
int getTier3Spins()- Returns:
- number of times tier3 spinning took place
-
getPercentUtilisation
int getPercentUtilisation()- Returns:
- percentage of how much the monitor was utilised whilst held
-
getAverageHoldTime
long getAverageHoldTime()- Returns:
- the average hold time
-
isJavaMonitor
boolean isJavaMonitor()- Returns:
- true if java monitor, false if system monitor
-