|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectLogic.RouterLoad
public class RouterLoad
Handles the concurrent polling process of the discovered routers for both the training and operational phase
| Constructor Summary | |
|---|---|
RouterLoad()
|
|
RouterLoad(java.lang.String samplesNo,
java.lang.String timePeriod,
boolean log,
java.lang.String logname)
Constructor for RouterLoad -- To Be Used When One-Time Polling is required |
|
RouterLoad(java.lang.String samplesNo,
java.lang.String timePeriod,
java.lang.String timePeriodOper,
java.lang.String maximumOperationalTimeDuration)
Constructor for RouterLoad -- To Be Used When Live Monitoring is required |
|
| Method Summary | |
|---|---|
void |
pollLoads(RouterCollection discRouters,
java.lang.String username,
java.lang.String pass)
Polling the routers |
void |
printOctets(RouterCollection routers)
Prints the necessary information for each router in Outlier Detection process |
void |
writeToFile(RouterCollection routers,
java.lang.String filename)
Creates a log file with the information about the routers, when DetectOutliers is being called with the "-w" argument. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RouterLoad()
public RouterLoad(java.lang.String samplesNo,
java.lang.String timePeriod,
boolean log,
java.lang.String logname)
samplesNo - - The number of required samplestimePeriod - - The polling time period
public RouterLoad(java.lang.String samplesNo,
java.lang.String timePeriod,
java.lang.String timePeriodOper,
java.lang.String maximumOperationalTimeDuration)
samplesNo - - The number of required samplestimePeriod - - The polling time periodmaxOperationalDuration - - Maximum operational duration| Method Detail |
|---|
public void pollLoads(RouterCollection discRouters,
java.lang.String username,
java.lang.String pass)
discRouters - - The collection of the discovered Routerspublic void printOctets(RouterCollection routers)
routers - - The collection of discovered routers
public void writeToFile(RouterCollection routers,
java.lang.String filename)
routers - the Collection of the routers for which we have the load informationfilename - the name of the log file to write the data.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||