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)
ProcessControlProvider
configureContainer
in interface ProcessControlProvider
container
- container to configure.public ContainerProcess containerProcess(Container container) throws IOException
ProcessControlProvider
containerProcess
in interface ProcessControlProvider
container
- 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
ProcessControlProvider
generateThreadDump
in interface ProcessControlProvider
IOException
- if an I/O error occurs generating the thread dump or writing to writer
.Copyright © 2002-2019 Atlassian. All Rights Reserved.