private void flush ( Collection < Record > recordsToBeFlushed , boolean backup ) { for ( Record record : recordsToBeFlushed ) { mapDataStore . flush ( record . getKey ( ) , record . getValue ( ) , backup ) ; } }
Flushes evicted records to map store .