@ManagedResource(description="Global Lock Metrics") public class GlobalLockMetrics extends AbstractMonitor
mongo| Constructor and Description |
|---|
GlobalLockMetrics(com.mongodb.Mongo mongo) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentQueueReaders() |
int |
getCurrentQueueTotal() |
int |
getCurrentQueueWriters() |
double |
getLockTime() |
double |
getLockTimeRatio() |
double |
getTotalTime() |
getDb, getServerStatus, setPassword, setUsername@ManagedMetric(metricType=COUNTER,
displayName="Total time")
public double getTotalTime()
@ManagedMetric(metricType=COUNTER,
displayName="Lock time",
unit="s")
public double getLockTime()
@ManagedMetric(metricType=GAUGE,
displayName="Lock time")
public double getLockTimeRatio()
@ManagedMetric(metricType=GAUGE,
displayName="Current Queue")
public int getCurrentQueueTotal()
@ManagedMetric(metricType=GAUGE,
displayName="Reader Queue")
public int getCurrentQueueReaders()
@ManagedMetric(metricType=GAUGE,
displayName="Writer Queue")
public int getCurrentQueueWriters()
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.