public class RoundRobinWorkerAssignPolicy extends WorkerAssignPolicy
Constructor and Description |
---|
RoundRobinWorkerAssignPolicy() |
Modifier and Type | Method and Description |
---|---|
protected WorkerInfo |
pickAWorker(String object,
Collection<WorkerInfo> workerInfos)
Pick a worker based on the policy.
|
protected WorkerInfo pickAWorker(String object, Collection<WorkerInfo> workerInfos)
WorkerAssignPolicy
pickAWorker
in class WorkerAssignPolicy
object
- objectworkerInfos
- worker informationCopyright © 2023. All Rights Reserved.