public class ZKSplitLogManagerCoordination.CreateRescanAsyncCallback extends Object implements org.apache.zookeeper.AsyncCallback.StringCallback
A RESCAN node is created using PERSISTENT_SEQUENTIAL flag. It is a signal for all the
SplitLogWorker
s to rescan for new tasks.
org.apache.zookeeper.AsyncCallback.ACLCallback, org.apache.zookeeper.AsyncCallback.Children2Callback, org.apache.zookeeper.AsyncCallback.ChildrenCallback, org.apache.zookeeper.AsyncCallback.Create2Callback, org.apache.zookeeper.AsyncCallback.DataCallback, org.apache.zookeeper.AsyncCallback.MultiCallback, org.apache.zookeeper.AsyncCallback.StatCallback, org.apache.zookeeper.AsyncCallback.StringCallback, org.apache.zookeeper.AsyncCallback.VoidCallback
Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
LOG |
Constructor and Description |
---|
CreateRescanAsyncCallback() |
Modifier and Type | Method and Description |
---|---|
void |
processResult(int rc,
String path,
Object ctx,
String name) |
private final org.slf4j.Logger LOG
public CreateRescanAsyncCallback()
public void processResult(int rc, String path, Object ctx, String name)
processResult
in interface org.apache.zookeeper.AsyncCallback.StringCallback
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.