final void closeAndRemoveAllDatabaseHandles ( ) { for ( Database databaseHandle : this . databaseHandles ) { try { databaseHandle . close ( ) ; } catch ( EnvironmentFailureException | IllegalStateException ex ) { LOGGER . log ( Level . SEVERE , "Error closing databases" , ex ) ; } } this . databaseHandles . clear ( ) ; }
Closes all databases that this factory instance previously created .