public class AttachProcessControlProvider extends Object implements ProcessControlProvider
| Constructor and Description |
|---|
AttachProcessControlProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureContainer(Container container)
Configure a container for process monitoring.
|
ContainerProcess |
containerProcess(Container container)
Returns the process of a container if it exists.
|
void |
generateThreadDump(Container container,
Writer writer)
Generate a thread dump of the process to the specified writer.
|
public void configureContainer(Container container)
ProcessControlProviderconfigureContainer in interface ProcessControlProvidercontainer - container to configure.public ContainerProcess containerProcess(Container container) throws IOException
ProcessControlProvidercontainerProcess in interface ProcessControlProvidercontainer - the container to retrieve the process for.IOException - if an error occurs reading the container's process.public void generateThreadDump(Container container, Writer writer) throws IOException
ProcessControlProvidergenerateThreadDump in interface ProcessControlProviderIOException - if an I/O error occurs generating the thread dump or writing to writer.Copyright © 2002-2018 Atlassian. All Rights Reserved.