Class InfoThreadCommand
java.lang.Object
com.ibm.java.diagnostics.utils.commands.BaseCommand
com.ibm.jvm.dtfjview.commands.BaseJdmpviewCommand
com.ibm.jvm.dtfjview.commands.infocommands.InfoThreadCommand
- All Implemented Interfaces:
ICommand
-
Nested Class Summary
Nested classes/interfaces declared in class BaseJdmpviewCommand
BaseJdmpviewCommand.ArtifactType
-
Field Summary
Fields declared in class BaseJdmpviewCommand
ctx, hexfmt, logger, out
Fields declared in class BaseCommand
COMMAND_FORMAT, config, nl, SUBCOMMAND_FORMAT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
printDetailedHelp
(PrintStream outStream) Print detailed help for a given commandvoid
void
void
void
run
(String command, String[] args, IContext context, PrintStream outStream) Executes the commandMethods declared in class BaseJdmpviewCommand
decodeThreadState, getArtifactType, handleException, initCommand, toHexString, toHexString, toHexString, toHexString, toHexStringAddr, toLong, toString, toString
Methods declared in class BaseCommand
addCommand, addSubCommand, getCommandDescriptions, getCommandNames, getConfig, recognises, setConfig
-
Constructor Details
-
InfoThreadCommand
public InfoThreadCommand()
-
-
Method Details
-
run
public void run(String command, String[] args, IContext context, PrintStream outStream) throws CommandException Description copied from interface:ICommand
Executes the command- Parameters:
command
- Command string e.g. !j9xargs
- Arguments for commandcontext
- Context to work inoutStream
- PrintStream to write command output on- Throws:
CommandException
- If there is any problem running the command (incorrect usage, CorruptData etc.)
-
doCommand
-
printRegisters
-
printRegisterInfo
-
printStackSection
-
printDetailedHelp
Description copied from class:BaseJdmpviewCommand
Print detailed help for a given command- Specified by:
printDetailedHelp
in classBaseJdmpviewCommand
- Parameters:
outStream
- stream to write the output to
-