Class LockStats

java.lang.Object
com.yahoo.vespa.curator.stats.LockStats

public class LockStats extends Object
This class manages statistics related to lock attempts on Lock.
Author:
hakon
  • Method Details

    • 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()