code: public synchronized void shutdown (final boolean killTimer)
    {
      if (!m_bShutdown)
      {
        try
        {
          // shutdown the counters of this counterManager
          for (final ICounter counter : m_aCounters)
            if (counter instanceof ISampledCounter)
              ((ISampledCounter) counter).shutdown ();
  
          if (killTimer)
            m_aTimer.cancel ();
        }
        finally
        {
          m_bShutdown = true;
        }
      }
    }
docs: {@inheritDoc}