public interface BalancingPolicy
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
An identifier for the policy.
|
void |
rebalance(TaskContext context,
Collection<String> workItems,
Collection<String> members)
Distribute the items to the specified members.
|
String getType()
void rebalance(TaskContext context, Collection<String> workItems, Collection<String> members)
context - The context of the task.workItems - An array of the workItems path.members - An array containing the eid of group members.Copyright © 2011–2014 Red Hat. All rights reserved.