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.| Modifier and Type | Interface and Description |
|---|---|
static class |
ZKSplitLogManagerCoordination.TaskFinisher.Status
status that can be returned finish()
|
| Modifier and Type | Method and Description |
|---|---|
ZKSplitLogManagerCoordination.TaskFinisher.Status |
finish(ServerName workerName,
String taskname)
finish the partially done task.
|
ZKSplitLogManagerCoordination.TaskFinisher.Status finish(ServerName workerName, String taskname)
workerName - taskname - Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.