Package com.yahoo.vespa.curator.stats
Class LockStats
- java.lang.Object
-
- com.yahoo.vespa.curator.stats.LockStats
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
clearForTesting()
static ThreadLockStats
getForCurrentThread()
Returns stats tied to the current thread.static LockStats
getGlobal()
Returns global stats.List<RecordedLockAttempts>
getHistoricRecordings()
List<LockAttempt>
getLockAttemptSamples()
Map<String,LockMetrics>
getLockMetricsByPath()
List<ThreadLockStats>
getThreadLockStats()
-
-
-
Method Detail
-
getGlobal
public static LockStats getGlobal()
Returns global stats.
-
getForCurrentThread
public static ThreadLockStats getForCurrentThread()
Returns stats tied to the current thread.
-
clearForTesting
public static void clearForTesting()
-
getLockMetricsByPath
public Map<String,LockMetrics> getLockMetricsByPath()
-
getThreadLockStats
public List<ThreadLockStats> getThreadLockStats()
-
getLockAttemptSamples
public List<LockAttempt> getLockAttemptSamples()
-
getHistoricRecordings
public List<RecordedLockAttempts> getHistoricRecordings()
-
-