Class NodeThreadsProfile

java.lang.Object
org.jppf.load.balancer.AbstractLoadBalancingProfile
org.jppf.load.balancer.impl.NodeThreadsProfile
All Implemented Interfaces:
Serializable, LoadBalancingProfile

public class NodeThreadsProfile extends AbstractLoadBalancingProfile
Profile for the "nodethreads" load-balancing algorithm.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • NodeThreadsProfile

      public NodeThreadsProfile()
      Default constructor.
    • NodeThreadsProfile

      public NodeThreadsProfile(TypedProperties config)
      Initialize this profile with values read from the specified configuration.
      Parameters:
      config - contains a mapping of the profile parameters to their value.
  • Method Details

    • getMultiplicator

      public int getMultiplicator()
      Get the multiplicator for the number of threads in the node.
      Returns:
      the multiplicator size as an int.
    • setMultiplicator

      public void setMultiplicator(int multiplicator)
      Set the multiplicator for the number of threads in the node.
      Parameters:
      multiplicator - the bundle size as an int.