org.jppf.server.scheduler.bundle.providers
Class ProportionalBundlerProvider
java.lang.Object
org.jppf.server.scheduler.bundle.providers.ProportionalBundlerProvider
- All Implemented Interfaces:
- JPPFBundlerProvider
public class ProportionalBundlerProvider
- extends Object
- implements JPPFBundlerProvider
Provider implementation for the "proportional" load-balancing algorithm.
- Author:
- Laurent Cohen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProportionalBundlerProvider
public ProportionalBundlerProvider()
createBundler
public Bundler createBundler(LoadBalancingProfile profile)
- Create a bundler instance using the specified parameters profile.
- Specified by:
createBundler in interface JPPFBundlerProvider
- Parameters:
profile - - an AutoTuneProfile instance.
- Returns:
- an instance of the bundler implementation defined by this provider.
- See Also:
JPPFBundlerProvider.createBundler(org.jppf.server.scheduler.bundle.LoadBalancingProfile)
createProfile
public LoadBalancingProfile createProfile(TypedProperties configuration)
- Create a bundler profile containing the parameters of the algorithm.
- Specified by:
createProfile in interface JPPFBundlerProvider
- Parameters:
configuration - - a set of properties defining the algorithm's parameters.
- Returns:
- an
ProportionalTuneProfile instance. - See Also:
JPPFBundlerProvider.createProfile(org.jppf.utils.TypedProperties)
getAlgorithmName
public String getAlgorithmName()
- Get the name of the algorithm defined by this provider.
- Specified by:
getAlgorithmName in interface JPPFBundlerProvider
- Returns:
- the algorithm's name as a string.
- See Also:
JPPFBundlerProvider.getAlgorithmName()
Copyright © 2005-2010 JPPF Team.