public interface OverseerMessageHandler
OverseerTaskProcessor| Modifier and Type | Interface and Description |
|---|---|
static class |
OverseerMessageHandler.ExclusiveMarking |
| Modifier and Type | Method and Description |
|---|---|
OverseerMessageHandler.ExclusiveMarking |
checkExclusiveMarking(String taskKey,
ZkNodeProps message) |
String |
getName() |
String |
getTaskKey(ZkNodeProps message) |
String |
getTimerName(String operation) |
void |
markExclusiveTask(String taskKey,
ZkNodeProps message) |
SolrResponse |
processMessage(ZkNodeProps message,
String operation) |
void |
unmarkExclusiveTask(String taskKey,
String operation,
ZkNodeProps message) |
SolrResponse processMessage(ZkNodeProps message, String operation)
message - the message to processoperation - the operation to processString getName()
String getTimerName(String operation)
operation - the operation to be timedString getTaskKey(ZkNodeProps message)
message - the message being processedvoid markExclusiveTask(String taskKey, ZkNodeProps message)
taskKey - the key associated with the task, cached from getTaskKeymessage - the message being processedvoid unmarkExclusiveTask(String taskKey, String operation, ZkNodeProps message)
taskKey - the key associated with the taskoperation - the operation being processedmessage - the message being processedOverseerMessageHandler.ExclusiveMarking checkExclusiveMarking(String taskKey, ZkNodeProps message)
taskKey - the key associated with the taskmessage - the message being processedCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.