Package org.jppf.load.balancer.impl
Class FixedSizeBundler
java.lang.Object
org.jppf.load.balancer.AbstractBundler<FixedSizeProfile>
org.jppf.load.balancer.impl.FixedSizeBundler
- All Implemented Interfaces:
Bundler<FixedSizeProfile>,ContextAwareness
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
-
Field Summary
Fields inherited from class org.jppf.load.balancer.AbstractBundler
bundlerNumber, profile, timestampFields inherited from interface org.jppf.load.balancer.Bundler
BUNDLER_COUNT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThis method always returns a statically assigned bundle size.Methods inherited from class org.jppf.load.balancer.AbstractBundler
dispose, feedback, getBundlerNumber, getJPPFContext, getProfile, getTimestamp, maxSize, setJPPFContext, setup
-
Constructor Details
-
FixedSizeBundler
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.
-