All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cyclopsgroup.jmxterm.JavaProcess Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
package org.cyclopsgroup.jmxterm;

import java.io.IOException;

/**
 * Identifies a running JVM process
 * 
 * @author Jiaqi Guo
 */
public interface JavaProcess {
  /**
   * @return Display name of process
   */
  String getDisplayName();

  /**
   * @return System process ID
   */
  int getProcessId();

  /**
   * @return True if process is JMX manageable
   */
  boolean isManageable();

  /**
   * Start management agent
   * 
   * @throws IOException Thrown when management agent couldn't be started
   */
  void startManagementAgent() throws IOException;

  /**
   * @return Get connector URL
   */
  String toUrl();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy