|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexample.loadbalance.ResetQuota
public class ResetQuota
This class restores the quota value at each node in the topology in order to
be able to perform the next cycle. It is assumed that the network nodes are
instancies of the BasicBalance
class.
Note that this control can be replaced by the library class
MethodInvoker
by configuring method "resetQuota".
Parameter Summary | |
---|---|
protocol
The protocol to operate on. |
Constructor Summary | |
---|---|
ResetQuota(java.lang.String prefix)
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
Constructor Detail |
---|
public ResetQuota(java.lang.String prefix)
prefix
- the configuration prefix 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 |