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;
}

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 ; }
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 / >
