public class WorkStealingGroup extends Object
| Constructor and Description |
|---|
WorkStealingGroup(int numOfThreads) |
| Modifier and Type | Method and Description |
|---|---|
protected ActorTask |
getNextTask()
Attempts to acquire the next task to execute
|
void |
submit(ActorTask task,
int threadId)
Submit the task into the provided thread's queue
|
public void submit(ActorTask task, int threadId)
task - the task to submitthreadId - the id of the thread into which queue the task should be submittedprotected ActorTask getNextTask()
Copyright © 2017–2019 camunda services GmbH. All rights reserved.