question: public void stopSampling ( ) { if ( mSamplingCounter . decrementAndGet ( ) == 0 ) { mHandler . stopSamplingThread ( ) ; addFinalSample ( ) ; } }
target:  Finish sampling and prevent further changes to the ConnectionClass until another timer is started.