Package com._1c.g5.v8.bm.core.monitoring
Interface IBmMonitoringEvent
-
public interface IBmMonitoringEvent
Monitoring event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IBmEngine
getEngine()
Gets the engine the event belongs to.Object
getInfo()
Gets Additional information about the event.long
getTime()
Gets the time the event happened.BmMonitoringEventType
getType()
Event type.
-
-
-
Method Detail
-
getTime
long getTime()
Gets the time the event happened.- Returns:
- the time the event happened.
-
getEngine
IBmEngine getEngine()
Gets the engine the event belongs to.- Returns:
- the engine the event belonts to, never
null
.
-
getType
BmMonitoringEventType getType()
Event type.- Returns:
- the event type, never
null
.
-
getInfo
Object getInfo()
Gets Additional information about the event.- Returns:
- an instance of
IBmDeadlockInfo
in case event type isBmMonitoringEventType.DEADLOCK
, an instance ofIBmLockWaitTimeoutInfo
in case event type isBmMonitoringEventType.LOCK_WAIT_TIMEOUT
.
-
-