|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpeersim.cdsim.FullNextCycle
peersim.cdsim.NextCycle
public class NextCycle
It generalizes its superclass so that the list of protocols to run can
be specified. The superclass (FullNextCycle
) always runs all the
CDProtocol
s.
Parameter Summary | |
---|---|
protocol
Gives the list of protocols (whitespace separated) that need to be iterated over. |
Field Summary |
---|
Fields inherited from class peersim.cdsim.FullNextCycle |
---|
getpair_rand, protSchedules, rperm, shuffle |
Constructor Summary | |
---|---|
NextCycle(java.lang.String prefix)
reads configuration parameters and the Scheduler s. |
Method Summary | |
---|---|
boolean |
execute()
Execute the configured protocols on all nodes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parameter Detail |
---|
protocol
Constructor Detail |
---|
public NextCycle(java.lang.String prefix)
Scheduler
s.
Method Detail |
---|
public boolean execute()
FullNextCycle.execute()
, only just the configured
protocols are iterated over.
execute
in interface Control
execute
in class FullNextCycle
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |