public interface OverseerMessageHandler
OverseerTaskProcessor
Modifier and Type | Interface and Description |
---|---|
static interface |
OverseerMessageHandler.Lock |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getTaskKey(ZkNodeProps message) |
String |
getTimerName(String operation) |
OverseerMessageHandler.Lock |
lockTask(ZkNodeProps message,
OverseerTaskProcessor.TaskBatch taskBatch)
Try to provide an exclusive lock for this particular task
return null if locking is not possible.
|
SolrResponse |
processMessage(ZkNodeProps message,
String operation) |
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 timedOverseerMessageHandler.Lock lockTask(ZkNodeProps message, OverseerTaskProcessor.TaskBatch taskBatch)
String getTaskKey(ZkNodeProps message)
message
- the message being processedCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.