Class FixedSizeProfile

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

public class FixedSizeProfile extends AbstractLoadBalancingProfile
Profile for the fixed bundle size load-balancing algorithm.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • FixedSizeProfile

      public FixedSizeProfile(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

    • getSize

      public int getSize()
      Get the bundle size.
      Returns:
      the bundle size as an int.