Package org.jppf.load.balancer.spi
Class NodeThreadsBundlerProvider
java.lang.Object
org.jppf.load.balancer.spi.NodeThreadsBundlerProvider
- All Implemented Interfaces:
JPPFBundlerProvider<NodeThreadsProfile>
public class NodeThreadsBundlerProvider
extends Object
implements JPPFBundlerProvider<NodeThreadsProfile>
Provider implementation for the "nodethreads" algorithm.
- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBundler(NodeThreadsProfile 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
-
NodeThreadsBundlerProvider
public NodeThreadsBundlerProvider()
-
-
Method Details
-
createBundler
Create a bundler instance using the specified parameters profile.- Specified by:
createBundlerin interfaceJPPFBundlerProvider<NodeThreadsProfile>- Parameters:
profile- encapsulates the parameters of this algorithm.- Returns:
- an instance of
NodeThreadsBundler.
-
createProfile
Create a bundler profile containing the parameters of the algorithm.- Specified by:
createProfilein interfaceJPPFBundlerProvider<NodeThreadsProfile>- Parameters:
configuration- a set of properties defining the algorithm parameters.- Returns:
- an instance of
NodeThreadsProfile.
-
getAlgorithmName
Get the name of the algorithm defined by this provider.- Specified by:
getAlgorithmNamein interfaceJPPFBundlerProvider<NodeThreadsProfile>- Returns:
- the algorithm name as a string.
-