Class AssertMetrics
java.lang.Object
org.springframework.data.mongodb.monitor.AbstractMonitor
org.springframework.data.mongodb.monitor.AssertMetrics
@Deprecated(since="4.5",
forRemoval=true)
@ManagedResource(description="Assertion Metrics")
public class AssertMetrics
extends AbstractMonitor
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.5
JMX Metrics for assertions
- Author:
- Mark Pollack
-
Constructor Summary
ConstructorsConstructorDescriptionAssertMetrics
(com.mongodb.client.MongoClient mongoClient) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionint
getMsg()
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.int
Deprecated, for removal: This API element is subject to removal in a future version.int
getUser()
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
-
AssertMetrics
public AssertMetrics(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
-
getRegular
Deprecated, for removal: This API element is subject to removal in a future version. -
getWarning
Deprecated, for removal: This API element is subject to removal in a future version. -
getMsg
Deprecated, for removal: This API element is subject to removal in a future version. -
getUser
Deprecated, for removal: This API element is subject to removal in a future version. -
getRollovers
Deprecated, for removal: This API element is subject to removal in a future version.
-