Package hudson.util
Class RemotingDiagnostics.HeapDump
- java.lang.Object
-
- hudson.util.RemotingDiagnostics.HeapDump
-
- All Implemented Interfaces:
ModelObject
- Enclosing class:
- RemotingDiagnostics
public static class RemotingDiagnostics.HeapDump extends Object implements ModelObject
Heap dump, exposable to URL via Stapler.
-
-
Constructor Summary
Constructors Constructor Description HeapDump(AccessControlled owner, hudson.remoting.VirtualChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doHeapDump(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
AccessControlled
getContext()
String
getDisplayName()
FilePath
obtain()
-
-
-
Constructor Detail
-
HeapDump
public HeapDump(AccessControlled owner, hudson.remoting.VirtualChannel channel)
-
-
Method Detail
-
doHeapDump
@WebMethod(name="heapdump.hprof") public void doHeapDump(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
getContext
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public AccessControlled getContext()
-
obtain
public FilePath obtain() throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceModelObject
-
-