|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.eduvax.grant.core.Node
net.eduvax.grant.core.LocalNode
net.eduvax.grant.simul.TestNode
net.eduvax.grant.simul.TestRoundRobinNode
class TestRoundRobinNode
Test node with round robin selector.
This node behavior is its parent behavior. It just use a RoundRobin
selector i.e. The ant engine is not use to route tasklets to next node.
Nodes are selected sequentially one by one. Each step selects next node
in know nodes list. last's next is fist :
A RoundRobin selector is used insteed of native ant engine one. See
RoundRobin class for more details.
| Field Summary |
|---|
| Fields inherited from class net.eduvax.grant.simul.TestNode |
|---|
client |
| Fields inherited from class net.eduvax.grant.core.LocalNode |
|---|
ANT_DEF_DELAY, candidate, STATE_FULL, STATE_HALTED, STATE_RUNNING, STATE_SHUTDOWN, STATE_STARTING, STATES_NAME |
| Constructor Summary | |
|---|---|
TestRoundRobinNode(java.lang.String n,
int p)
create new round robin test node. |
|
| Method Summary |
|---|
| Methods inherited from class net.eduvax.grant.simul.TestNode |
|---|
checkLoad, execReportToClient, getFeedback, getLoadValue, load, loadNodes, setClient, setLoadCost, setPerf |
| Methods inherited from class net.eduvax.grant.core.LocalNode |
|---|
addNode, dissipate, execReport, feedback, fitness, getFeedback, getKnownNodes, getTaskCount, handleEvent, removeNode, sendEvent, setMaxLoad, setSelector, shutdown, status, submitRequest |
| Methods inherited from class net.eduvax.grant.core.Node |
|---|
createNode, getFitness, getName, getRCDir, registerNodeFactory, setFitness |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestRoundRobinNode(java.lang.String n,
int p)
n - new node's name.b - broker to use to send requests to parent and selected nodes.p - perf number.details about p and max params.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||