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

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

public class RLBundlerProvider
extends Object
implements JPPFBundlerProvider

Provider implementation for the reinforcement learning load-balancing algorithm.

Author:
Laurent Cohen

Constructor Summary
RLBundlerProvider()
           
 
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

RLBundlerProvider

public RLBundlerProvider()
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 RLProfile 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.