public interface BalancingPolicy
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getType()
An identifier for the policy.
|
void |
rebalance(TaskContext context,
java.util.Collection<java.lang.String> workItems,
java.util.Collection<java.lang.String> members)
Distribute the items to the specified members.
|
java.lang.String getType()
void rebalance(TaskContext context, java.util.Collection<java.lang.String> workItems, java.util.Collection<java.lang.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 © 2014 Red Hat. All Rights Reserved.