org.jppf.server.scheduler.bundle.providers
Class AutoTunedBundlerProvider

java.lang.Object
  extended by org.jppf.server.scheduler.bundle.providers.AutoTunedBundlerProvider
All Implemented Interfaces:
JPPFBundlerProvider

public class AutoTunedBundlerProvider
extends Object
implements JPPFBundlerProvider

Provider implementation for the autotuned, Monte Carlo-based, load-balancing algorithm.

Author:
Laurent Cohen

Constructor Summary
AutoTunedBundlerProvider()
           
 
Method Summary
 Bundler createBundler(LoadBalancingProfile profile)
          Create a bundler instance using the specified parameters profile.
 LoadBalancingProfile createProfile(TypedProperties configuration)
          Create a bundler profile containing the parameters of the algorithm.
 String getAlgorithmName()
          Get the name of the algorithm defined by this provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoTunedBundlerProvider

public AutoTunedBundlerProvider()
Method Detail

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 AnnealingTuneProfile 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.