|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tapestry.repairmonitor.GnutellaOrder
This class reads in a gnutella trace, and generates a priority queue of events, denoting when nodes enter and leave the trace.
Nested Class Summary | |
---|---|
class |
GnutellaOrder.GnutellaNode
An inner class representing some event (start or end) in a Gnutella trace. |
Constructor Summary | |
---|---|
GnutellaOrder(String traceFilename)
|
|
GnutellaOrder(String traceFilename,
long startTime)
|
|
GnutellaOrder(String traceFilename,
long startTime,
int numNodes)
|
Method Summary | |
---|---|
long |
atLeastAliveTime()
First time when at least the desired number of nodes are alive. |
long |
exactAliveTime()
First time when exactly the desired number of nodes are alive. |
PriorityQueue |
getQueue()
Return the queue of ordered events |
static void |
main(String[] args)
|
int |
maxAlive()
Maximum number of nodes alive at any one time in the trace |
long |
maxAliveStart()
First time when maximum number of nodes alive at any one time in the trace |
int |
minAlive()
Minimum number of nodes alive at any one time in the trace |
long |
minAliveStart()
First time when minimum number of nodes alive at any one time in the trace |
void |
printPDFHelper(Vector times)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GnutellaOrder(String traceFilename, long startTime, int numNodes)
public GnutellaOrder(String traceFilename, long startTime)
public GnutellaOrder(String traceFilename)
Method Detail |
public int maxAlive()
public int minAlive()
public long maxAliveStart()
public long minAliveStart()
public long atLeastAliveTime()
public long exactAliveTime()
public PriorityQueue getQueue()
public void printPDFHelper(Vector times)
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |