|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--ThreadedTrace
ThreadedTrace.java runs 50 traceroutes at a time (in 50 different threads) putting the results into files named "tracesN" where N=1,50. Each thread does 500 traceroutes from random servers to random destinations. USAGE: java ThreadedTrace destsFile tracesPerThread numThreads
RouteServer,
IPDestination| Field Summary | |
static java.util.ArrayList |
allDests
|
static java.util.ArrayList |
allServers
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
ThreadedTrace(int testCount,
int num)
|
|
| Method Summary | |
TraceLine |
lastGoodHop(java.util.ArrayList answers)
|
static void |
main(java.lang.String[] args)
test ThreadedTrace by reading a file of destinations and printing out the statistics. |
static void |
printAnswers(java.util.ArrayList answers)
prints the traceroute as a sequence of lines, one per hop. |
void |
printRoute(java.util.ArrayList answers)
prints a single line summary of the AS path |
void |
run()
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static java.util.ArrayList allServers
public static java.util.ArrayList allDests
| Constructor Detail |
public ThreadedTrace(int testCount,
int num)
| Method Detail |
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic static void printAnswers(java.util.ArrayList answers)
public void printRoute(java.util.ArrayList answers)
public TraceLine lastGoodHop(java.util.ArrayList answers)
public static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||