|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.server.scheduler.bundle.autotuned.AbstractAutoTuneProfile
org.jppf.server.scheduler.bundle.proportional.ProportionalTuneProfile
public class ProportionalTuneProfile
Paremeters profile for a proportional bundler.
| Constructor Summary | |
|---|---|
ProportionalTuneProfile()
Initialize this profile with default parameters. |
|
ProportionalTuneProfile(String profileName)
Initialize this profile with values read from the configuration file. |
|
ProportionalTuneProfile(TypedProperties config)
Initialize this profile with values read from the configuration file. |
|
| Method Summary | |
|---|---|
LoadBalancingProfile |
copy()
Make a copy of this profile. |
static ProportionalTuneProfile |
getDefaultProfile()
Get the default profile with default parameter values. |
int |
getPerformanceCacheSize()
Get the maximum size of the performance samples cache. |
int |
getProportionalityFactor()
Get the proportionality factor. |
void |
setPerformanceCacheSize(int performanceCacheSize)
Set the maximum size of the performance samples cache. |
void |
setProportionalityFactor(int proportionalityFactor)
Set the proportionality factor. |
String |
toString()
Return a string representation of this profile. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProportionalTuneProfile()
public ProportionalTuneProfile(String profileName)
profileName - name of the profile in the configuration file.public ProportionalTuneProfile(TypedProperties config)
config - contains a mapping of the profile parameters to their value.| Method Detail |
|---|
public LoadBalancingProfile copy()
AutoTuneProfile instance.LoadBalancingProfile.copy()public int getPerformanceCacheSize()
public void setPerformanceCacheSize(int performanceCacheSize)
performanceCacheSize - the cache size as an int.public int getProportionalityFactor()
public void setProportionalityFactor(int proportionalityFactor)
proportionalityFactor - the factor as an int.public static ProportionalTuneProfile getDefaultProfile()
ProportionalTuneProfile singleton instance.public String toString()
toString in class ObjectObject.toString()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||