Class ZkSplitLogWorkerCoordination.ZkSplitTaskDetails
java.lang.Object
org.apache.hadoop.hbase.coordination.ZkSplitLogWorkerCoordination.ZkSplitTaskDetails
- All Implemented Interfaces:
SplitLogWorkerCoordination.SplitTaskDetails
- Enclosing class:
- ZkSplitLogWorkerCoordination
public static class ZkSplitLogWorkerCoordination.ZkSplitTaskDetails
extends Object
implements SplitLogWorkerCoordination.SplitTaskDetails
When ZK-based implementation wants to complete the task, it needs to know task znode and
current znode cversion (needed for subsequent update operation).
-
Field Summary
Modifier and TypeFieldDescriptionprivate org.apache.commons.lang3.mutable.MutableInt
private String
-
Constructor Summary
ConstructorDescriptionZkSplitTaskDetails
(String taskNode, org.apache.commons.lang3.mutable.MutableInt curTaskZKVersion) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.lang3.mutable.MutableInt
Returns full file path in HDFS for the WAL file to be split.void
setCurTaskZKVersion
(org.apache.commons.lang3.mutable.MutableInt curTaskZKVersion) void
setTaskNode
(String taskNode)
-
Field Details
-
taskNode
-
curTaskZKVersion
-
-
Constructor Details
-
ZkSplitTaskDetails
public ZkSplitTaskDetails() -
ZkSplitTaskDetails
public ZkSplitTaskDetails(String taskNode, org.apache.commons.lang3.mutable.MutableInt curTaskZKVersion)
-
-
Method Details
-
getTaskNode
-
setTaskNode
-
getCurTaskZKVersion
-
setCurTaskZKVersion
-
getWALFile
Description copied from interface:SplitLogWorkerCoordination.SplitTaskDetails
Returns full file path in HDFS for the WAL file to be split.- Specified by:
getWALFile
in interfaceSplitLogWorkerCoordination.SplitTaskDetails
-