@@ -62,10 +62,10 @@ interface StatCallback extends AsyncCallback {
6262 * @param ctx Whatever context object that we passed to asynchronous calls.
6363 * @param stat {@link Stat} object of the node on given path.
6464 *
65- * @see ZooKeeper#exists(String, boolean, StatCallback, Object)
66- * @see ZooKeeper#exists(String, Watcher, StatCallback, Object)
67- * @see ZooKeeper#setData(String, byte[], int, StatCallback, Object)
68- * @see ZooKeeper#setACL(String, List, int, StatCallback, Object)
65+ * @see ZooKeeper#exists(String, boolean, AsyncCallback. StatCallback, Object)
66+ * @see ZooKeeper#exists(String, Watcher, AsyncCallback. StatCallback, Object)
67+ * @see ZooKeeper#setData(String, byte[], int, AsyncCallback. StatCallback, Object)
68+ * @see ZooKeeper#setACL(String, List, int, AsyncCallback. StatCallback, Object)
6969 */
7070 void processResult (int rc , String path , Object ctx , Stat stat );
7171
@@ -84,7 +84,7 @@ interface AllChildrenNumberCallback extends AsyncCallback {
8484 * @param ctx Whatever context object that we passed to asynchronous calls.
8585 * @param number The number of children nodes under a specific path.
8686 *
87- * @see ZooKeeper#getAllChildrenNumber(String, AllChildrenNumberCallback, Object)
87+ * @see ZooKeeper#getAllChildrenNumber(String, AsyncCallback. AllChildrenNumberCallback, Object)
8888 */
8989 void processResult (int rc , String path , Object ctx , int number );
9090
@@ -113,10 +113,10 @@ interface DataCallback extends AsyncCallback {
113113 * @param data The data of the node.
114114 * @param stat {@link Stat} object of the node on given path.
115115 *
116- * @see ZooKeeper#getData(String, boolean, DataCallback, Object)
117- * @see ZooKeeper#getData(String, Watcher, DataCallback, Object)
118- * @see ZooKeeper#getConfig(boolean, DataCallback, Object)
119- * @see ZooKeeper#getConfig(Watcher, DataCallback, Object)
116+ * @see ZooKeeper#getData(String, boolean, AsyncCallback. DataCallback, Object)
117+ * @see ZooKeeper#getData(String, Watcher, AsyncCallback. DataCallback, Object)
118+ * @see ZooKeeper#getConfig(boolean, AsyncCallback. DataCallback, Object)
119+ * @see ZooKeeper#getConfig(Watcher, AsyncCallback. DataCallback, Object)
120120 */
121121 void processResult (int rc , String path , Object ctx , byte [] data , Stat stat );
122122
@@ -145,7 +145,7 @@ interface ACLCallback extends AsyncCallback {
145145 * @param acl ACL Id in {@link ZooDefs.Ids}.
146146 * @param stat {@link Stat} object of the node on given path.
147147 *
148- * @see ZooKeeper#getACL(String, Stat, ACLCallback, Object)
148+ * @see ZooKeeper#getACL(String, Stat, AsyncCallback. ACLCallback, Object)
149149 */
150150 void processResult (int rc , String path , Object ctx , List <ACL > acl , Stat stat );
151151
@@ -173,8 +173,8 @@ interface ChildrenCallback extends AsyncCallback {
173173 * @param ctx Whatever context object that we passed to asynchronous calls.
174174 * @param children An unordered array of children of the node on given path.
175175 *
176- * @see ZooKeeper#getChildren(String, boolean, ChildrenCallback, Object)
177- * @see ZooKeeper#getChildren(String, Watcher, ChildrenCallback, Object)
176+ * @see ZooKeeper#getChildren(String, boolean, AsyncCallback. ChildrenCallback, Object)
177+ * @see ZooKeeper#getChildren(String, Watcher, AsyncCallback. ChildrenCallback, Object)
178178 */
179179 void processResult (int rc , String path , Object ctx , List <String > children );
180180
@@ -196,8 +196,8 @@ interface Children2Callback extends AsyncCallback {
196196 * @param stat {@link Stat} object of the node on given path.
197197 *
198198 * @see ChildrenCallback
199- * @see ZooKeeper#getChildren(String, boolean, Children2Callback, Object)
200- * @see ZooKeeper#getChildren(String, Watcher, Children2Callback, Object)
199+ * @see ZooKeeper#getChildren(String, boolean, AsyncCallback. Children2Callback, Object)
200+ * @see ZooKeeper#getChildren(String, Watcher, AsyncCallback. Children2Callback, Object)
201201 */
202202 void processResult (int rc , String path , Object ctx , List <String > children , Stat stat );
203203
@@ -221,8 +221,8 @@ interface Create2Callback extends AsyncCallback {
221221 * @param stat {@link Stat} object of the node on given path.
222222 *
223223 * @see StringCallback
224- * @see ZooKeeper#create(String, byte[], List, CreateMode, Create2Callback, Object)
225- * @see ZooKeeper#create(String, byte[], List, CreateMode, Create2Callback, Object, long)
224+ * @see ZooKeeper#create(String, byte[], List, CreateMode, AsyncCallback. Create2Callback, Object)
225+ * @see ZooKeeper#create(String, byte[], List, CreateMode, AsyncCallback. Create2Callback, Object, long)
226226 */
227227 void processResult (int rc , String path , Object ctx , String name , Stat stat );
228228
@@ -257,15 +257,15 @@ interface StringCallback extends AsyncCallback {
257257 * and <i>path</i> are usually equal, unless a sequential node has
258258 * been created.
259259 *
260- * @see ZooKeeper#create(String, byte[], List, CreateMode, StringCallback, Object)
260+ * @see ZooKeeper#create(String, byte[], List, CreateMode, AsyncCallback. StringCallback, Object)
261261 */
262262 void processResult (int rc , String path , Object ctx , String name );
263263
264264 }
265265
266266 /**
267267 * This callback doesn't retrieve anything from the node. It is useful for some APIs
268- * that doesn't want anything sent back, e.g. {@link ZooKeeper#sync(String, VoidCallback, Object)}.
268+ * that doesn't want anything sent back, e.g. {@link ZooKeeper#sync(String, AsyncCallback. VoidCallback, Object)}.
269269 */
270270 @ InterfaceAudience .Public
271271 interface VoidCallback extends AsyncCallback {
@@ -283,17 +283,17 @@ interface VoidCallback extends AsyncCallback {
283283 * - The given version doesn't match the node's version for some API calls.</li>
284284 * <li>{@link KeeperException.Code#NOTEMPTY}
285285 * - the node has children and some API calls cannot succeed, e.g.
286- * {@link ZooKeeper#delete(String, int, VoidCallback, Object)}.</li>
286+ * {@link ZooKeeper#delete(String, int, AsyncCallback. VoidCallback, Object)}.</li>
287287 * </ul>
288288 *
289289 * @param rc The return code or the result of the call.
290290 * @param path The path that we passed to asynchronous calls.
291291 * @param ctx Whatever context object that we passed to asynchronous calls.
292292 *
293- * @see ZooKeeper#delete(String, int, VoidCallback, Object)
294- * @see ZooKeeper#removeAllWatches(String, Watcher.WatcherType, boolean, VoidCallback, Object)
295- * @see ZooKeeper#removeWatches(String, Watcher, Watcher.WatcherType, boolean, VoidCallback, Object)
296- * @see ZooKeeper#sync(String, VoidCallback, Object)
293+ * @see ZooKeeper#delete(String, int, AsyncCallback. VoidCallback, Object)
294+ * @see ZooKeeper#removeAllWatches(String, Watcher.WatcherType, boolean, AsyncCallback. VoidCallback, Object)
295+ * @see ZooKeeper#removeWatches(String, Watcher, Watcher.WatcherType, boolean, AsyncCallback. VoidCallback, Object)
296+ * @see ZooKeeper#sync(String, AsyncCallback. VoidCallback, Object)
297297 *
298298 */
299299 void processResult (int rc , String path , Object ctx );
@@ -323,7 +323,7 @@ interface MultiCallback extends AsyncCallback {
323323 * @param opResults The list of results. One result for each operation, and the order
324324 * matches that of input.
325325 *
326- * @see ZooKeeper#multi(Iterable, MultiCallback, Object)
326+ * @see ZooKeeper#multi(Iterable, AsyncCallback. MultiCallback, Object)
327327 */
328328 void processResult (int rc , String path , Object ctx , List <OpResult > opResults );
329329
@@ -332,8 +332,8 @@ interface MultiCallback extends AsyncCallback {
332332 /**
333333 * This callback is used to process the getEphemerals results from a single getEphemerals call.
334334 *
335- * @see ZooKeeper#getEphemerals(EphemeralsCallback, Object)
336- * @see ZooKeeper#getEphemerals(String, EphemeralsCallback, Object)
335+ * @see ZooKeeper#getEphemerals(AsyncCallback. EphemeralsCallback, Object)
336+ * @see ZooKeeper#getEphemerals(String, AsyncCallback. EphemeralsCallback, Object)
337337 *
338338 * @since 3.6.0
339339 */
0 commit comments