Package com.mongodb.event
Class ServerHeartbeatStartedEvent
- java.lang.Object
-
- com.mongodb.event.ServerHeartbeatStartedEvent
-
@Deprecated(since="2021-05-27") public final class ServerHeartbeatStartedEvent extends java.lang.Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.An event for the start of a server heartbeat.- Since:
- 3.3
-
-
Constructor Summary
Constructors Constructor Description ServerHeartbeatStartedEvent(ConnectionId connectionId)
Deprecated.Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ConnectionId
getConnectionId()
Deprecated.Gets the connectionId.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
ServerHeartbeatStartedEvent
public ServerHeartbeatStartedEvent(ConnectionId connectionId)
Deprecated.Construct an instance.- Parameters:
connectionId
- the non-null connnectionId
-
-
Method Detail
-
getConnectionId
public ConnectionId getConnectionId()
Deprecated.Gets the connectionId.- Returns:
- the connectionId
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-