Class ConnectionMetrics
java.lang.Object
org.springframework.data.mongodb.monitor.AbstractMonitor
org.springframework.data.mongodb.monitor.ConnectionMetrics
@Deprecated(since="4.5",
forRemoval=true)
@ManagedResource(description="Connection metrics")
public class ConnectionMetrics
extends AbstractMonitor
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.5
JMX Metrics for Connections
- Author:
- Mark Pollack
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionMetrics
(com.mongodb.client.MongoClient mongoClient) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.springframework.data.mongodb.monitor.AbstractMonitor
getDb, getMongoClient, getServerStatus, hosts
-
Constructor Details
-
ConnectionMetrics
public ConnectionMetrics(com.mongodb.client.MongoClient mongoClient) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
mongoClient
- must not be null.- Since:
- 2.2
-
-
Method Details
-
getCurrent
Deprecated, for removal: This API element is subject to removal in a future version. -
getAvailable
Deprecated, for removal: This API element is subject to removal in a future version.
-