Class ZKSplitLogManagerCoordination.CreateRescanAsyncCallback
java.lang.Object
org.apache.hadoop.hbase.coordination.ZKSplitLogManagerCoordination.CreateRescanAsyncCallback
- All Implemented Interfaces:
org.apache.zookeeper.AsyncCallback
,org.apache.zookeeper.AsyncCallback.StringCallback
- Enclosing class:
- ZKSplitLogManagerCoordination
public class ZKSplitLogManagerCoordination.CreateRescanAsyncCallback
extends Object
implements org.apache.zookeeper.AsyncCallback.StringCallback
Asynchronous handler for zk create RESCAN-node results. Retries on failures.
A RESCAN node is created using PERSISTENT_SEQUENTIAL flag. It is a signal for all the
SplitLogWorker
s to rescan for new tasks.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.zookeeper.AsyncCallback
org.apache.zookeeper.AsyncCallback.ACLCallback, org.apache.zookeeper.AsyncCallback.AllChildrenNumberCallback, org.apache.zookeeper.AsyncCallback.Children2Callback, org.apache.zookeeper.AsyncCallback.ChildrenCallback, org.apache.zookeeper.AsyncCallback.Create2Callback, org.apache.zookeeper.AsyncCallback.DataCallback, org.apache.zookeeper.AsyncCallback.EphemeralsCallback, org.apache.zookeeper.AsyncCallback.MultiCallback, org.apache.zookeeper.AsyncCallback.StatCallback, org.apache.zookeeper.AsyncCallback.StringCallback, org.apache.zookeeper.AsyncCallback.VoidCallback
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processResult
(int rc, String path, Object ctx, String name)
-
Field Details
-
LOG
-
-
Constructor Details
-
CreateRescanAsyncCallback
public CreateRescanAsyncCallback()
-
-
Method Details
-
processResult
- Specified by:
processResult
in interfaceorg.apache.zookeeper.AsyncCallback.StringCallback
-