- java.lang.Object
-
- com.ibm.jvm.format.TraceFileHeader
-
- All Implemented Interfaces:
TraceFileHeader
public final class TraceFileHeader extends Object implements TraceFileHeader
Encapsulates the header for a trace file.
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
EXTERNAL
protected static int
INTERNAL
protected TraceSection
traceSection
-
Constructor Summary
Constructors Modifier Constructor Description protected
TraceFileHeader(TraceFile traceFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
formatFileName()
protected int
getBufferSize()
returns the size of the buffers in the associated trace fileprotected long
getLength()
returns the length of this file headerprotected String
getNextFormatFileName(String previous)
long
getTraceDataStart()
protected String
getVMLevel()
protected static boolean
isUTE()
returns true if a UTE trace file is being processedprotected void
processTraceBufferHeaders()
protected void
summarize(BufferedWriter out)
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.jvm.trace.TraceFileHeader
getFirstTracePointMillis, getJVMStartedMillis, getLastBufferWriteMillis, getLastTracePointMillis, getSysProcessorInfo, getTraceParameters, getVMStartUpParameters, getVMVersion
-
-
-
-
Field Detail
-
traceSection
protected TraceSection traceSection
-
INTERNAL
protected static final int INTERNAL
- See Also:
- Constant Field Values
-
EXTERNAL
protected static final int EXTERNAL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TraceFileHeader
protected TraceFileHeader(TraceFile traceFile) throws IOException
- Throws:
IOException
-
-
Method Detail
-
processTraceBufferHeaders
protected final void processTraceBufferHeaders() throws IOException
- Throws:
IOException
-
summarize
protected final void summarize(BufferedWriter out) throws IOException
- Throws:
IOException
-
getLength
protected final long getLength()
returns the length of this file header- Returns:
- a long
-
getBufferSize
protected final int getBufferSize()
returns the size of the buffers in the associated trace file- Returns:
- an int
-
formatFileName
protected final String formatFileName()
-
getVMLevel
protected final String getVMLevel()
-
isUTE
protected static final boolean isUTE()
returns true if a UTE trace file is being processed- Returns:
- a boolean
-
getTraceDataStart
public final long getTraceDataStart()
-
-