|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectexample.loadbalance.LinearDistributionInitializer
public class LinearDistributionInitializer
This class provides a simple linear distribution in a bounded interval
defined by PAR_MIN and PAR_MAX parameters. It is assumed
that the network nodes comply to the SingleValue
interface.
| Parameter Summary | |
|---|---|
max
The upper bound of the values. |
|
min
The lower bound of the values. |
|
protocol
The protocol to operate on. |
|
| Constructor Summary | |
|---|---|
LinearDistributionInitializer(java.lang.String prefix)
Standard constructor that reads the configuration parameters. |
|
| Method Summary | |
|---|---|
boolean |
execute()
This class provides a simple linear distribution in a bounded interval defined by parameters PAR_MIN and PAR_MAX. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Parameter Detail |
|---|
max
min
protocol
| Constructor Detail |
|---|
public LinearDistributionInitializer(java.lang.String prefix)
prefix - the configuration prefix for this class.| Method Detail |
|---|
public boolean execute()
PAR_MIN and PAR_MAX.
execute in interface Control
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||