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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ConnectionInfo>
getConnections()
ServerInfo
getServer()
List<SqlStatementInfo>
getSqlStatements()
List<StatementInfo>
getStatements()
void
sendEvent(Event event)
Sends an event to the monitor.
-
-
-
Method Detail
-
getServer
ServerInfo getServer()
-
getConnections
List<ConnectionInfo> getConnections()
-
getStatements
List<StatementInfo> getStatements()
-
getSqlStatements
List<SqlStatementInfo> getSqlStatements()
-
sendEvent
void sendEvent(Event event)
Sends an event to the monitor.- Parameters:
event
- Event
-
-