Package org.jppf.load.balancer.spi
Class AutoTunedBundlerProvider
java.lang.Object
org.jppf.load.balancer.spi.AutoTunedBundlerProvider
- All Implemented Interfaces:
JPPFBundlerProvider<AnnealingTuneProfile>
public class AutoTunedBundlerProvider
extends Object
implements JPPFBundlerProvider<AnnealingTuneProfile>
Provider implementation for the autotuned, Monte Carlo-based, load-balancing algorithm.
- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBundler(AnnealingTuneProfile profile) Create a bundler instance using the specified parameters profile.createProfile(TypedProperties configuration) Create a bundler profile containing the parameters of the algorithm.Get the name of the algorithm defined by this provider.
-
Constructor Details
-
AutoTunedBundlerProvider
public AutoTunedBundlerProvider()
-
-
Method Details
-
createBundler
Create a bundler instance using the specified parameters profile.- Specified by:
createBundlerin interfaceJPPFBundlerProvider<AnnealingTuneProfile>- Parameters:
profile- anAutoTuneProfileinstance.- Returns:
- an instance of the bundler implementation defined by this provider.
-
createProfile
Create a bundler profile containing the parameters of the algorithm.- Specified by:
createProfilein interfaceJPPFBundlerProvider<AnnealingTuneProfile>- Parameters:
configuration- a set of properties defining the algorithm's parameters.- Returns:
- an
AnnealingTuneProfileinstance.
-
getAlgorithmName
Get the name of the algorithm defined by this provider.- Specified by:
getAlgorithmNamein interfaceJPPFBundlerProvider<AnnealingTuneProfile>- Returns:
- the algorithm's name as a string.
-