diff options
author | Håkon Hallingstad <hakon@verizonmedia.com> | 2020-09-24 13:53:40 +0200 |
---|---|---|
committer | Håkon Hallingstad <hakon@verizonmedia.com> | 2020-09-24 13:53:40 +0200 |
commit | 069716d610dbea6fa58e009cac8c5495c5e7d06d (patch) | |
tree | 2ee22c776e85084330da7dd1fad0a54d643e49f6 /zkfacade/abi-spec.json | |
parent | 181b198578ce66e2759a450a9ee6adc8ca4f9134 (diff) |
Expose locks info in REST API
Diffstat (limited to 'zkfacade/abi-spec.json')
-rw-r--r-- | zkfacade/abi-spec.json | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/zkfacade/abi-spec.json b/zkfacade/abi-spec.json index f4ad1ab4372..614c58f3cf6 100644 --- a/zkfacade/abi-spec.json +++ b/zkfacade/abi-spec.json @@ -109,5 +109,65 @@ "public void close()" ], "fields": [] + }, + "com.yahoo.vespa.curator.LockInfo$LockState": { + "superClass": "java.lang.Enum", + "interfaces": [], + "attributes": [ + "public", + "final", + "enum" + ], + "methods": [ + "public static com.yahoo.vespa.curator.LockInfo$LockState[] values()", + "public static com.yahoo.vespa.curator.LockInfo$LockState valueOf(java.lang.String)", + "public boolean isTerminal()" + ], + "fields": [ + "public static final enum com.yahoo.vespa.curator.LockInfo$LockState ACQUIRING", + "public static final enum com.yahoo.vespa.curator.LockInfo$LockState TIMED_OUT", + "public static final enum com.yahoo.vespa.curator.LockInfo$LockState ACQUIRED", + "public static final enum com.yahoo.vespa.curator.LockInfo$LockState FAILED_TO_REENTER", + "public static final enum com.yahoo.vespa.curator.LockInfo$LockState RELEASED" + ] + }, + "com.yahoo.vespa.curator.LockInfo": { + "superClass": "java.lang.Object", + "interfaces": [], + "attributes": [ + "public" + ], + "methods": [ + "public static com.yahoo.vespa.curator.LockInfo invokingAcquire(int, java.time.Duration)", + "public int getThreadHoldCountOnAcquire()", + "public java.time.Instant getTimeAcquiredWasInvoked()", + "public java.time.Duration getAcquireTimeout()", + "public com.yahoo.vespa.curator.LockInfo$LockState getLockState()", + "public java.util.Optional getTimeLockWasAcquired()", + "public java.util.Optional getTimeTerminalStateWasReached()" + ], + "fields": [] + }, + "com.yahoo.vespa.curator.ThreadLockInfo": { + "superClass": "java.lang.Object", + "interfaces": [], + "attributes": [ + "public" + ], + "methods": [ + "public static int invokeAcquireCount()", + "public static int inCriticalRegionCount()", + "public static int acquireTimedOutCount()", + "public static int lockAcquiredCount()", + "public static int locksReleasedCount()", + "public static int noLocksErrorCount()", + "public static int failedToAcquireReentrantLockCount()", + "public static int timeoutOnReentrancyErrorCount()", + "public static java.util.List getThreadLockInfos()", + "public java.lang.String getThreadName()", + "public java.lang.String getLockPath()", + "public java.util.List getLockInfos()" + ], + "fields": [] } }
\ No newline at end of file |