public interface LockingData extends HealthCenterData
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JAVAMONITORDATA
Used to get only Java Monitors Data when comparing against
NotificationListener.getUserData() |
static java.lang.String |
SYSTEMMONITORDATA
Used to get only System Monitors Data when comparing against
NotificationListener.getUserData() |
Modifier and Type | Method and Description |
---|---|
void |
addLockingListener(LockingEventListener listener)
Add a listener for notification of when a locking event occurs
|
MonitorData[] |
getInflatedJavaMonitors()
Gets an array of MonitorData objects representing locks taken by the
application that is being monitored.
|
MonitorData[] |
getInflatedSystemMonitors()
Gets an array of MonitorData objects representing locks taken by the Java
runtime environment.
|
void |
removeLockingListener(LockingEventListener listener)
Remove one of registered listeners.
|
getAllRecommendations, getCriticalRecommendations, getHealthyRecommendations, getInformationalRecommendations, getWarningRecommendations, startNotifying, startNotifying
static final java.lang.String JAVAMONITORDATA
NotificationListener.getUserData()
static final java.lang.String SYSTEMMONITORDATA
NotificationListener.getUserData()
MonitorData[] getInflatedJavaMonitors()
MonitorData[] getInflatedSystemMonitors()
void addLockingListener(LockingEventListener listener)
implementation
- of the LockingEventListener classvoid removeLockingListener(LockingEventListener listener)
implementation
- of the LockingEventListener class