|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.server.scheduler.bundle.AbstractBundler
org.jppf.server.scheduler.bundle.impl.AutotunedDelegatingBundler
public class AutotunedDelegatingBundler
Instances of this bundler delegate their operations to a singleton instance of a
AutoTunedBundler.
| Field Summary | |
|---|---|
protected AnnealingTuneProfile |
profile
Parameters of the auto-tuning algorithm, grouped as a performance analysis profile. |
| Fields inherited from class org.jppf.server.scheduler.bundle.AbstractBundler |
|---|
bundlerNumber, timestamp |
| Constructor Summary | |
|---|---|
AutotunedDelegatingBundler(AnnealingTuneProfile profile)
Creates a new instance with the initial size of bundle as the start size. |
|
| Method Summary | |
|---|---|
Bundler |
copy()
Make a copy of this bundler |
void |
feedback(int bundleSize,
double totalTime)
This method delegates the bundle size calculation to the singleton instance of SimpleBundler. |
int |
getBundleSize()
Get the current size of bundle. |
protected int |
maxSize()
Get the max bundle size that can be used for this bundler. |
| Methods inherited from class org.jppf.server.scheduler.bundle.AbstractBundler |
|---|
dispose, getBundlerNumber, getProfile, getTimestamp, setup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AnnealingTuneProfile profile
| Constructor Detail |
|---|
public AutotunedDelegatingBundler(AnnealingTuneProfile profile)
profile - the parameters of the auto-tuning algorithm grouped as a performance analysis profile.| Method Detail |
|---|
public Bundler copy()
Bundler instance.Bundler.copy()public int getBundleSize()
Bundler.getBundleSize()
public void feedback(int bundleSize,
double totalTime)
SimpleBundler.
feedback in interface Bundlerfeedback in class AbstractBundlerbundleSize - the number of tasks executed.totalTime - the time in milliseconds it took to execute the tasks.AbstractBundler.feedback(int, double)protected int maxSize()
maxSize in class AbstractBundlerAbstractBundler.maxSize()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||