question: protected Status spinReadStatus ( ) { Status status = null ; final long endTime = ( System . currentTimeMillis ( ) + 20000 ) ; long clock = 0 ; while ( status == null && clock < endTime ) { try { status = nativeReadStatus ( ) ; } catch ( Exception ignore ) { pause ( 500 ) ; } finally { clock = System . currentTimeMillis ( ) ; } } return status ; }
target:  Reads the JMX Agent's status from the .agent.ser status file. If the status file cannot be read due to I/O problems, the method will keep attempting to read the file for up to 20 seconds. <p/>