Package 

Class PidHelper


  • 
    public final class PidHelper
    
                        

    Get PID in reasonably cross-platform way.

    • Method Summary

      Modifier and Type Method Description
      static String getPid()
      static long getPidAsLong() Returns 0 if the PID is not a number.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait