hudson.util
Class RemotingDiagnostics.HeapDump

java.lang.Object
  extended by hudson.util.RemotingDiagnostics.HeapDump
Enclosing class:
RemotingDiagnostics

public static class RemotingDiagnostics.HeapDump
extends Object

Heap dump, exposable to URL via Stapler.


Constructor Summary
RemotingDiagnostics.HeapDump(AccessControlled owner, hudson.remoting.VirtualChannel channel)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemotingDiagnostics.HeapDump

public RemotingDiagnostics.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


Copyright © 2004-2013. All Rights Reserved.