Class TDumpReader
java.lang.Object
com.ibm.j9ddr.corereaders.tdump.TDumpReader
- All Implemented Interfaces:
ICoreFileReader
zOS dump reader implemented as a thin wrapper around Zebedee.
-
Nested Class Summary
Nested classes/interfaces declared in interface com.ibm.j9ddr.corereaders.ICoreFileReader
ICoreFileReader.DumpTestResult
-
Field Summary
Fields declared in interface com.ibm.j9ddr.corereaders.ICoreFileReader
J9DDR_CORE_READERS_LOGGER_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprocessDump
(String path) Called when a core reader should process the dump.Called when a core reader should process the dump.Tests the dump described by the path for compatibility with this CoreFileReader.Tests the dump represented by the input stream for compatibility with this CoreFileReader.boolean
validDump
(byte[] data, long filesize)
-
Constructor Details
-
TDumpReader
public TDumpReader()
-
-
Method Details
-
validDump
public boolean validDump(byte[] data, long filesize) -
processDump
Description copied from interface:ICoreFileReader
Called when a core reader should process the dump. This allows lazy initialisation of the readers especially when they are not subsequently used.- Specified by:
processDump
in interfaceICoreFileReader
- Throws:
InvalidDumpFormatException
IOException
-
processDump
Description copied from interface:ICoreFileReader
Called when a core reader should process the dump. This allows lazy initialisation of the readers especially when they are not subsequently used.- Specified by:
processDump
in interfaceICoreFileReader
- Throws:
InvalidDumpFormatException
IOException
-
testDump
Description copied from interface:ICoreFileReader
Tests the dump described by the path for compatibility with this CoreFileReader.- Specified by:
testDump
in interfaceICoreFileReader
- Parameters:
path
- Path to dump file.- Throws:
IOException
- If there was an IO problem reading the file (disk full etc.). Note that FileNotFound should be handled with DumpTestResult.
-
testDump
Description copied from interface:ICoreFileReader
Tests the dump represented by the input stream for compatibility with this CoreFileReader.- Specified by:
testDump
in interfaceICoreFileReader
- Throws:
IOException
- If there was an IO problem reading the file (disk full etc.). Note that FileNotFound should be handled with DumpTestResult.
-