private void deleteGroup ( List < Segment > group ) { // Delete the old segments. for ( Segment oldSegment : group ) { oldSegment . close ( ) ; oldSegment . delete ( ) ; } }
Completes compaction by deleting old segments .