private boolean checkPeersAtStartup ( ) { if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "checkPeersAtStartup" ) ; boolean checkAtStartup ; try { checkAtStartup = AccessController . doPrivileged ( new PrivilegedExceptionAction < Boolean > ( ) { @ Override public Boolean run ( ) { return Boolean . getBoolean ( "com.ibm.ws.recoverylog.spi.CheckPeersAtStartup" ) ; } } ) ; } catch ( PrivilegedActionException e ) { if ( tc . isDebugEnabled ( ) ) Tr . debug ( tc , "checkPeersAtStartup" , e ) ; checkAtStartup = false ; } if ( tc . isEntryEnabled ( ) ) Tr . exit ( tc , "checkPeersAtStartup" , checkAtStartup ) ; return checkAtStartup ; }
This method retrieves a system property named com . ibm . ws . recoverylog . spi . CheckPeersAtStartup which allows the check to see if peer servers are stale to be bypassed at server startup . The checks will subsequently be performed through the spun - off timer thread .