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
public abstract class ConnectionEvent extends Event
Event concerning a connection.
-
-
Field Summary
Fields Modifier and Type Field Description int
connectionId
Connection identifier.int
serverId
Server identifier; corresponds toMondrianServer.getId()
.
-
Constructor Summary
Constructors Constructor Description ConnectionEvent(long timestamp, int serverId, int connectionId)
Creates a ConnectionEvent.
-
-
-
Field Detail
-
serverId
public final int serverId
Server identifier; corresponds toMondrianServer.getId()
.
-
connectionId
public final int connectionId
Connection identifier. To retrieve the connection, callMondrianServer.getConnection(int)
-
-