|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexample.aggregation.PeakDistributionInitializer
public class PeakDistributionInitializer
Initialize an aggregation protocol using a peak distribution; only one peak
is allowed. Note that any protocol implementing
SingleValue
can be initialized by this component.
Parameter Summary | |
---|---|
value
The load at the peak node. |
|
protocol
The protocol to operate on. |
Constructor Summary | |
---|---|
PeakDistributionInitializer(java.lang.String prefix)
Creates a new instance and read parameters from the config file. |
Method Summary | |
---|---|
boolean |
execute()
Initialize an aggregation protocol using a peak distribution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parameter Detail |
---|
value
protocol
Constructor Detail |
---|
public PeakDistributionInitializer(java.lang.String prefix)
Method Detail |
---|
public boolean execute()
execute
in interface Control
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |