Class NodeThreadsBundler

java.lang.Object
org.jppf.load.balancer.AbstractBundler<NodeThreadsProfile>
org.jppf.load.balancer.impl.NodeThreadsBundler
All Implemented Interfaces:
Bundler<NodeThreadsProfile>, ChannelAwareness, ContextAwareness

public class NodeThreadsBundler extends AbstractBundler<NodeThreadsProfile> implements ChannelAwareness
This implementation of a load-balancing algorithm illustrates the use of the ChannelAwareness APIs, by sending to each node at most m * n tasks, where n is the number of processing threads in the node, and m is a user-defined parameter which defaults to one.
Author:
Laurent Cohen