question: private void persistStatsInDB ( List < Stat > stats ) throws BaseCollectionException { if ( ! stats . isEmpty ( ) ) { _keyMap . put ( Constants . _Stats , stats ) ; dumpStatRecords ( ) ; injectStats ( ) ; stats . clear ( ) ; } }
target:  Dump records on disk & persist the records in db.