Package mondrian.server.monitor
Class ConnectionEvent
java.lang.Object
mondrian.server.monitor.Event
mondrian.server.monitor.ConnectionEvent
- All Implemented Interfaces:
Message
- Direct Known Subclasses:
ConnectionEndEvent
,ConnectionStartEvent
Event concerning a connection.
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
Connection identifier.final int
Server identifier; corresponds toMondrianServer.getId()
. -
Constructor Summary
ConstructorDescriptionConnectionEvent
(long timestamp, int serverId, int connectionId) Creates a ConnectionEvent. -
Method Summary
Methods inherited from class mondrian.server.monitor.Event
setContextMap
-
Field Details
-
serverId
public final int serverIdServer identifier; corresponds toMondrianServer.getId()
. -
connectionId
public final int connectionIdConnection identifier. To retrieve the connection, callMondrianServer.getConnection(int)
-
-
Constructor Details
-
ConnectionEvent
public ConnectionEvent(long timestamp, int serverId, int connectionId) Creates a ConnectionEvent.- Parameters:
timestamp
- TimestampserverId
- Server idconnectionId
- Connection id
-