Class GlobalLockMetrics
java.lang.Object
org.springframework.data.mongodb.monitor.AbstractMonitor
org.springframework.data.mongodb.monitor.GlobalLockMetrics
@Deprecated(since="4.5",
forRemoval=true)
@ManagedResource(description="Global Lock Metrics")
public class GlobalLockMetrics
extends AbstractMonitor
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.5
JMX Metrics for Global Locks
- Author:
- Mark Pollack
-
Constructor Summary
ConstructorsConstructorDescriptionGlobalLockMetrics
(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.int
Deprecated, for removal: This API element is subject to removal in a future version.double
Deprecated, for removal: This API element is subject to removal in a future version.double
Deprecated, for removal: This API element is subject to removal in a future version.double
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
-
GlobalLockMetrics
public GlobalLockMetrics(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
-
getTotalTime
Deprecated, for removal: This API element is subject to removal in a future version. -
getLockTime
Deprecated, for removal: This API element is subject to removal in a future version. -
getLockTimeRatio
Deprecated, for removal: This API element is subject to removal in a future version. -
getCurrentQueueTotal
Deprecated, for removal: This API element is subject to removal in a future version. -
getCurrentQueueReaders
Deprecated, for removal: This API element is subject to removal in a future version. -
getCurrentQueueWriters
Deprecated, for removal: This API element is subject to removal in a future version.
-