|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmuskel.ParDegree
public class ParDegree
This is a contract that can be issued to a manager, specifying the amount of processing elements that have to be used to implement the manager controlled computation.
| Constructor Summary | |
|---|---|
ParDegree(int nw)
constructor: sets up the initial value of the contract |
|
| Method Summary | |
|---|---|
int |
getParDegree()
allows the current implementation of the contract to be inspected |
void |
setParDegree(int nw)
sets the parallelism degree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParDegree(int nw)
nw - the paralleism degree to be sustained by this contract| Method Detail |
|---|
public int getParDegree()
public void setParDegree(int nw)
nw - the new vaule of the parallelism degree
TODO va registrato un handler per avvertire il manager di un cambiamento nel contratto. occorre anche definirne il tipo ...
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||