类 ManagementUtils


  • public abstract class ManagementUtils
    extends java.lang.Object
    Management Utility class
    从以下版本开始:
    1.0.0
    版本:
    1.0.0
    作者:
    Mercy
    另请参阅:
    ManagementUtils
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static int getCurrentProcessId()
      Get the process ID of current JVM
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • ManagementUtils

        public ManagementUtils()
    • 方法详细资料

      • getCurrentProcessId

        public static int getCurrentProcessId()
        Get the process ID of current JVM
        返回:
        If can't get the process ID , return -1