- 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 intEXTERNALprotected static intINTERNALprotected TraceSectiontraceSection
-
Constructor Summary
Constructors Modifier Constructor Description protectedTraceFileHeader(TraceFile traceFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringformatFileName()protected intgetBufferSize()returns the size of the buffers in the associated trace fileprotected longgetLength()returns the length of this file headerprotected StringgetNextFormatFileName(String previous)longgetTraceDataStart()protected StringgetVMLevel()protected static booleanisUTE()returns true if a UTE trace file is being processedprotected voidprocessTraceBufferHeaders()protected voidsummarize(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()
-
-