Package hudson.util
Class RemotingDiagnostics.HeapDump
- java.lang.Object
-
- hudson.util.RemotingDiagnostics.HeapDump
-
- Enclosing class:
- RemotingDiagnostics
public static class RemotingDiagnostics.HeapDump extends Object
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)
void
doIndex(org.kohsuke.stapler.StaplerResponse rsp)
Obtains the heap dump.FilePath
obtain()
-
-
-
Constructor Detail
-
HeapDump
public HeapDump(AccessControlled owner, hudson.remoting.VirtualChannel channel)
-
-
Method Detail
-
doIndex
public void doIndex(org.kohsuke.stapler.StaplerResponse rsp) throws IOException
Obtains the heap dump.- Throws:
IOException
-
doHeapDump
@WebMethod(name="heapdump.hprof") public void doHeapDump(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
obtain
public FilePath obtain() throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
-