org.jppf.client.loadbalancer
Class ClientProportionalBundler
java.lang.Object
org.jppf.server.scheduler.bundle.AbstractBundler
org.jppf.server.scheduler.bundle.proportional.AbstractProportionalBundler
org.jppf.client.loadbalancer.ClientProportionalBundler
- All Implemented Interfaces:
- Bundler
public class ClientProportionalBundler
- extends AbstractProportionalBundler
Implementation of the "proportional" load-balancing algortihm, dedicated to
balancing the load between local and remote execution, when local execution is enabled in the client.
- Author:
- Laurent Cohen
|
Method Summary |
Bundler |
copy()
Make a copy of this bundler |
protected int |
maxSize()
Get the max bundle size that can be used for this bundler. |
void |
setMaxSize(int maxBundleSize)
Get the maximum size returned by this bundler. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientProportionalBundler
public ClientProportionalBundler(LoadBalancingProfile profile)
- Creates a new instance with the initial size of bundle as the start size.
- Parameters:
profile - the parameters of the auto-tuning algorithm,
grouped as a performance analysis profile.
copy
public Bundler copy()
- Make a copy of this bundler
- Returns:
- a
Bundler instance. - See Also:
Bundler.copy()
maxSize
protected int maxSize()
- Get the max bundle size that can be used for this bundler.
- Specified by:
maxSize in class AbstractBundler
- Returns:
- the bundle size as an int.
- See Also:
AbstractBundler.maxSize()
setMaxSize
public void setMaxSize(int maxBundleSize)
- Get the maximum size returned by this bundler.
- Parameters:
maxBundleSize - the size as an int.
Copyright © 2005-2010 JPPF Team.