public final void stopTrack ( Flag track ) { setTrack ( track , false ) ; if ( ! trackStateTransfer && ! trackXSiteStateTransfer ) { if ( trace ) { log . tracef ( "Tracking is disabled. Clear tracker: %s" , tracker ) ; } tracker . clear ( ) ; } else { for ( Iterator < Map . Entry < Object , DiscardPolicy > > iterator = tracker . entrySet ( ) . iterator ( ) ; iterator . hasNext ( ) ; ) { if ( iterator . next ( ) . getValue ( ) . update ( trackStateTransfer , trackXSiteStateTransfer ) ) { iterator . remove ( ) ; } } } }
It stops tracking keys committed .