|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgcspy.utils.Verbose
gcspy.tools.FileTrace
gcspy.tools.TerminalPlayTrace
public class TerminalPlayTrace
Plays a trace from a file
Field Summary |
---|
Fields inherited from class gcspy.tools.FileTrace |
---|
COMPRESSION_GZIP, COMPRESSION_NONE, COMPRESSION_ZIP, fileName |
Fields inherited from class gcspy.utils.Verbose |
---|
verbose |
Method Summary | |
---|---|
protected void |
control(int spaceID,
byte[] control)
Handle a space's controls |
protected void |
event(int eventID,
int elapsedTime,
int compensationTime)
Handle an event |
protected void |
eventCount(int[] eventCount)
Handle event counts |
static void |
main(java.lang.String[] args)
|
protected void |
space(ServerSpace space)
Handle a space |
protected void |
spaceInfo(int spaceID,
java.lang.String spaceInfo)
Handle space information |
protected void |
stream(int spaceID,
int streamID,
java.lang.Object data,
int[] summary)
Handle a stream's data and dummary values for a stream |
Methods inherited from class gcspy.tools.FileTrace |
---|
close, createBufferedInput, createBufferedOutput, createSpace, done, getCompressionType, parse, setupInput, setupOutput, writeControl, writeEvent, writeEventCount, writeSpace, writeSpaceInfo, writeStream |
Methods inherited from class gcspy.utils.Verbose |
---|
print, println, println, setVerbose, verbose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected void stream(int spaceID, int streamID, java.lang.Object data, int[] summary) throws java.io.IOException
FileTrace
stream
in class FileTrace
spaceID
- The space's IDstreamID
- The stream's IDdata
- The stream's datasummary
- The summary values
java.io.IOException
protected void control(int spaceID, byte[] control) throws java.io.IOException
FileTrace
control
in class FileTrace
spaceID
- The space's IDcontrol
- The controls
java.io.IOException
protected void eventCount(int[] eventCount) throws java.io.IOException
FileTrace
eventCount
in class FileTrace
eventCount
- The event counts
java.io.IOException
protected void event(int eventID, int elapsedTime, int compensationTime) throws java.io.IOException
FileTrace
event
in class FileTrace
eventID
- The event's IDelapsedTime
- The elapsed time for the eventcompensationTime
- Its compensation time
java.io.IOException
protected void spaceInfo(int spaceID, java.lang.String spaceInfo)
FileTrace
spaceInfo
in class FileTrace
spaceID
- The space's IDspaceInfo
- Its space informationprotected void space(ServerSpace space) throws java.io.IOException
FileTrace
space
in class FileTrace
space
- The space
java.io.IOException
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |