public class AssistantExecutionManager
extends akka.actor.UntypedActor
Modifier and Type | Field and Description |
---|---|
private long |
asstManagerRetryIntervalMillis |
protected long |
endTime
The end time.
|
private static org.slf4j.Logger |
logger
The logger.
|
protected int |
maxConcurrencyAdjusted
The max concurrency adjusted.
|
protected akka.actor.ActorRef |
originalManager
The original manager.
|
protected int |
processedWorkerCount
The processed worker count.
|
protected int |
requestTotalCount
The request total count.
|
protected int |
responseCount
The response count.
|
protected long |
startTime
The start time.
|
protected java.lang.String |
taskId |
protected java.lang.String |
taskIdTrim |
protected java.util.List<akka.actor.ActorRef> |
workers
The workers.
|
Constructor and Description |
---|
AssistantExecutionManager()
Instantiates a new assistant execution manager.
|
Modifier and Type | Method and Description |
---|---|
void |
onReceive(java.lang.Object message) |
void |
sendMessageUntilStopCount(int stopCount)
Note that if there is sleep in this method.
|
void |
waitAndRetry()
Wait and retry.
|
akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, getContext, getSelf, getSender, postRestart, postStop, preRestart, preStart, receive, self, sender, supervisorStrategy, unhandled
private static org.slf4j.Logger logger
private long asstManagerRetryIntervalMillis
protected int responseCount
protected int requestTotalCount
protected long startTime
protected long endTime
protected akka.actor.ActorRef originalManager
protected java.util.List<akka.actor.ActorRef> workers
protected int maxConcurrencyAdjusted
protected int processedWorkerCount
protected java.lang.String taskId
protected java.lang.String taskIdTrim
public AssistantExecutionManager()
public void sendMessageUntilStopCount(int stopCount)
stopCount
- the stop countpublic void waitAndRetry()
public void onReceive(java.lang.Object message)
onReceive
in class akka.actor.UntypedActor