Class FixedSizeBundler

java.lang.Object
org.jppf.load.balancer.AbstractBundler<FixedSizeProfile>
org.jppf.load.balancer.impl.FixedSizeBundler
All Implemented Interfaces:
Bundler<FixedSizeProfile>, ContextAwareness

public class FixedSizeBundler extends AbstractBundler<FixedSizeProfile>
This class provide a used defined bundle size jppf.load.balancing.profile. It uses the size defined by admin in property file or the size defined by admin application.
Author:
Domingos Creado, Laurent Cohen
  • Constructor Details

    • FixedSizeBundler

      public FixedSizeBundler(FixedSizeProfile profile)
      Initialize this bundler.
      Parameters:
      profile - - contains the parameters for this bundler.
  • Method Details

    • getBundleSize

      public int getBundleSize()
      This method always returns a statically assigned bundle size.
      Returns:
      the bundle size defined in the JPPF driver configuration.