|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object example.loadbalance.LBObserver
public class LBObserver
This class monitors the state of the load balancing process at each cycle. It
is assumed that the network nodes comply to the
SingleValue
interface.
Parameter Summary | |
---|---|
protocol
The protocol to operate on. |
|
show_values
If defined, print the load value. |
Constructor Summary | |
---|---|
LBObserver(java.lang.String name)
Standard constructor that reads the configuration parameters. |
Method Summary | |
---|---|
boolean |
execute()
Performs arbitrary modifications or reports arbitrary information over the components. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parameter Detail |
---|
protocol
show_values
Constructor Detail |
---|
public LBObserver(java.lang.String name)
name
- the configuration prefix identifier for this class.Method Detail |
---|
public boolean execute()
Control
execute
in interface Control
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |