Package mondrian.server.monitor
Interface Monitor
public interface Monitor
Information about a Mondrian server.
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.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Sends an event to the monitor.
-
Method Details
-
getServer
ServerInfo getServer() -
getConnections
List<ConnectionInfo> getConnections() -
getStatements
List<StatementInfo> getStatements() -
getSqlStatements
List<SqlStatementInfo> getSqlStatements() -
sendEvent
Sends an event to the monitor.- Parameters:
event
- Event
-