Package com.yahoo.vespa.curator.stats
Class RecordedLockAttempts
- java.lang.Object
-
- com.yahoo.vespa.curator.stats.RecordedLockAttempts
-
public class RecordedLockAttempts extends java.lang.Object
Contains information about the lock attempts made by a thread between a start and end.Any thread is allowed access the public methods of an instance.
- Author:
- hakon
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.Duration
duration()
java.time.Instant
endInstant()
java.util.List<LockAttempt>
lockAttempts()
java.lang.String
recordId()
java.time.Instant
startInstant()
-
-
-
Method Detail
-
recordId
public java.lang.String recordId()
-
startInstant
public java.time.Instant startInstant()
-
endInstant
public java.time.Instant endInstant()
-
duration
public java.time.Duration duration()
-
lockAttempts
public java.util.List<LockAttempt> lockAttempts()
-
-