Interface ProcessControlProvider

All Known Implementing Classes:
AttachProcessControlProvider

public interface ProcessControlProvider
Provides the ability to monitor the process of a container.
Since:
7.3.5
  • Method Details

    • configureContainer

      void configureContainer(Container container)
      Configure a container for process monitoring. This could, for example, set a unique identifier.
      Parameters:
      container - container to configure.
    • containerProcess

      ContainerProcess containerProcess(Container container) throws IOException
      Returns the process of a container if it exists.
      Parameters:
      container - the container to retrieve the process for.
      Returns:
      the container process, or null if it does not exist.
      Throws:
      IOException - if an error occurs reading the container's process.
    • generateThreadDump

      void generateThreadDump(Container container, Writer writer) throws IOException
      Generate a thread dump of the process to the specified writer.
      Throws:
      IOException - if an I/O error occurs generating the thread dump or writing to writer.