summaryrefslogtreecommitdiffstats
path: root/zkfacade/abi-spec.json
blob: 614c58f3cf6cad8e4b24770ee64ec6d9b6413dbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
{
  "com.yahoo.vespa.curator.CompletionTimeoutException": {
    "superClass": "java.lang.RuntimeException",
    "interfaces": [],
    "attributes": [
      "public"
    ],
    "methods": [
      "public void <init>(java.lang.String)"
    ],
    "fields": []
  },
  "com.yahoo.vespa.curator.Curator$CompletionWaiter": {
    "superClass": "java.lang.Object",
    "interfaces": [],
    "attributes": [
      "public",
      "interface",
      "abstract"
    ],
    "methods": [
      "public abstract void awaitCompletion(java.time.Duration)",
      "public abstract void notifyCompletion()"
    ],
    "fields": []
  },
  "com.yahoo.vespa.curator.Curator$DirectoryCache": {
    "superClass": "java.lang.Object",
    "interfaces": [],
    "attributes": [
      "public",
      "interface",
      "abstract"
    ],
    "methods": [
      "public abstract void start()",
      "public abstract void addListener(org.apache.curator.framework.recipes.cache.PathChildrenCacheListener)",
      "public abstract java.util.List getCurrentData()",
      "public abstract org.apache.curator.framework.recipes.cache.ChildData getCurrentData(com.yahoo.path.Path)",
      "public abstract void close()"
    ],
    "fields": []
  },
  "com.yahoo.vespa.curator.Curator$FileCache": {
    "superClass": "java.lang.Object",
    "interfaces": [],
    "attributes": [
      "public",
      "interface",
      "abstract"
    ],
    "methods": [
      "public abstract void start()",
      "public abstract void addListener(org.apache.curator.framework.recipes.cache.NodeCacheListener)",
      "public abstract org.apache.curator.framework.recipes.cache.ChildData getCurrentData()",
      "public abstract void close()"
    ],
    "fields": []
  },
  "com.yahoo.vespa.curator.Curator": {
    "superClass": "java.lang.Object",
    "interfaces": [
      "java.lang.AutoCloseable"
    ],
    "attributes": [
      "public"
    ],
    "methods": [
      "public static com.yahoo.vespa.curator.Curator create(java.lang.String)",
      "public static com.yahoo.vespa.curator.Curator create(java.lang.String, java.util.Optional)",
      "public void <init>(com.yahoo.cloud.config.ConfigserverConfig, com.yahoo.vespa.zookeeper.VespaZooKeeperServer)",
      "protected void <init>(java.lang.String, java.lang.String, java.util.function.Function)",
      "public java.lang.String connectionSpec()",
      "public org.apache.curator.framework.recipes.atomic.DistributedAtomicLong createAtomicCounter(java.lang.String)",
      "public org.apache.curator.framework.recipes.locks.InterProcessLock createMutex(java.lang.String)",
      "public com.yahoo.vespa.curator.Curator$CompletionWaiter getCompletionWaiter(com.yahoo.path.Path, int, java.lang.String)",
      "public com.yahoo.vespa.curator.Curator$CompletionWaiter createCompletionWaiter(com.yahoo.path.Path, java.lang.String, int, java.lang.String)",
      "public com.yahoo.vespa.curator.Curator$DirectoryCache createDirectoryCache(java.lang.String, boolean, boolean, java.util.concurrent.ExecutorService)",
      "public com.yahoo.vespa.curator.Curator$FileCache createFileCache(java.lang.String, boolean)",
      "public boolean exists(com.yahoo.path.Path)",
      "public void set(com.yahoo.path.Path, byte[])",
      "public boolean create(com.yahoo.path.Path)",
      "public varargs void createAtomically(com.yahoo.path.Path[])",
      "public void delete(com.yahoo.path.Path)",
      "public java.util.List getChildren(com.yahoo.path.Path)",
      "public java.util.Optional getData(com.yahoo.path.Path)",
      "public java.util.Optional getStat(com.yahoo.path.Path)",
      "public com.yahoo.vespa.curator.Lock lock(com.yahoo.path.Path, java.time.Duration)",
      "public org.apache.curator.framework.CuratorFramework framework()",
      "public void close()",
      "public java.lang.String zooKeeperEnsembleConnectionSpec()",
      "public int zooKeeperEnsembleCount()"
    ],
    "fields": [
      "protected final org.apache.curator.RetryPolicy retryPolicy"
    ]
  },
  "com.yahoo.vespa.curator.Lock": {
    "superClass": "java.lang.Object",
    "interfaces": [
      "com.yahoo.transaction.Mutex"
    ],
    "attributes": [
      "public"
    ],
    "methods": [
      "public void <init>(java.lang.String, com.yahoo.vespa.curator.Curator)",
      "public void acquire(java.time.Duration)",
      "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": []
  }
}