question: public void cleanup ( ) { if ( cleanupRecords != null ) { Iterator < Long > iterRecord = cleanupRecords . iterator ( ) ; while ( iterRecord . hasNext ( ) ) { Long record = iterRecord . next ( ) ; if ( iterRecord . hasNext ( ) ) { deleteID ( record . longValue ( ) ) ; } } cleanupRecords . clear ( ) ; cleanupRecords = null ; } }
target:  A method to cleanup old records after started