public static interface ZKSplitLogManagerCoordination.TaskFinisher
SplitLogManager can use objects implementing this
interface to finish off a partially done task by
SplitLogWorker. This provides a
serialization point at the end of the task processing. Must be restartable and idempotent.| 限定符和类型 | 接口和说明 |
|---|---|
static class |
ZKSplitLogManagerCoordination.TaskFinisher.Status
status that can be returned finish()
|
| 限定符和类型 | 方法和说明 |
|---|---|
ZKSplitLogManagerCoordination.TaskFinisher.Status |
finish(ServerName workerName,
String taskname)
finish the partially done task. workername provides clue to where the partial results of the
partially done tasks are present. taskname is the name of the task that was put up in
zookeeper.
|
ZKSplitLogManagerCoordination.TaskFinisher.Status finish(ServerName workerName, String taskname)
workerName - taskname - Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.