question: private static boolean test ( ODatabaseDocumentPool pool , String dbURL , String user , String password , boolean finalTry ) { ODatabaseDocumentTx db = null ; try { logger . info ( "Verifying the DB." ) ; db = pool . acquire ( dbURL , user , password ) ; Iterator < ODocument > iter = db . browseClass ( "config" ) ; if ( iter . hasNext ( ) ) { iter . next ( ) ; } } catch ( OException ex ) { if ( finalTry ) { logger . info ( "Exceptions encountered in verifying the DB" , ex ) ; } else { logger . debug ( "DB exception in testing." , ex ) ; } return false ; } finally { if ( db != null ) { db . close ( ) ; } } return true ; }
target:  Perform a basic access on the DB for a rudimentary test