@TaskMeta(id="heap-dump", name="JVM Heap Dump", description="produces a heap dump of the JVM running the UltraESB instance", maskable=false, intensive=true, taskParameters=@TaskParamMeta(name="output",description="output filename of the temporary heap dump file",configurable=false,defaultValue="heap_[timestamp].hprof")) public class HeapDumpTask extends TaskBase
serverConfig
Constructor and Description |
---|
HeapDumpTask() |
Modifier and Type | Method and Description |
---|---|
Status |
execute(String outputRoot,
Map<String,String> parameters)
Executes the core logic of the task.
|
getDescription, getId, getName, getParameterDetails, isIntensive, isMaskable, setDescription, setId, setIntensive, setMaskable, setName, setParameterDetails, setServerConfig, toView
public Status execute(String outputRoot, Map<String,String> parameters) throws Exception
TaskBase
File.separator
-terminated path
defined by the outputRoot
parameter.
Any exceptions should be thrown to the base method, for maintaining proper exception notification.Copyright © 2016–2019 AdroitLogic. All rights reserved.