question: boolean checkPidMatches ( ) throws IllegalStateException , IOException , PidUnavailableException { final RuntimeMXBean proxy = ManagementFactory . newPlatformMXBeanProxy ( this . server , ManagementFactory . RUNTIME_MXBEAN_NAME , RuntimeMXBean . class ) ; final int remotePid = ProcessUtils . identifyPid ( proxy . getName ( ) ) ; if ( remotePid != this . pid ) { throw new IllegalStateException ( "Process has different pid '" + remotePid + "' than expected pid '" + this . pid + "'" ) ; } else { return true ; } }
target:  Ensures that the other process identifies itself by the same pid used by this stopper to connect to that process. NOT USED EXCEPT IN TEST.