public interface Monitor
Also, the sendEvent(Event)
allows a Mondrian subsystem to
notify the monitor of some event. The event is handled asynchronously.
We strongly recommend that the event's fields simple, final values; one
would not want the contents to have changed when the event is processed, or
for the event to prevent a resource from being garbage-collected.
All methods are thread-safe.
Modifier and Type | Method and Description |
---|---|
List<ConnectionInfo> |
getConnections() |
ServerInfo |
getServer() |
List<SqlStatementInfo> |
getSqlStatements() |
List<StatementInfo> |
getStatements() |
void |
sendEvent(Event event)
Sends an event to the monitor.
|
ServerInfo getServer()
List<ConnectionInfo> getConnections()
List<StatementInfo> getStatements()
List<SqlStatementInfo> getSqlStatements()
void sendEvent(Event event)
event
- EventCopyright © 2020 Hitachi Vantara. All rights reserved.