protected final void copyValue(ExtendedStatistic from, ExtendedStatistic to) {
      try {
         double value = container.getValue(from);
         container.addValue(to, value);
         if (log.isDebugEnabled()) {
            log.debugf("Copy value [%s] from [%s] to [%s]", value, from, to);
         }
      } catch (ExtendedStatisticNotFoundException e) {
         log.unableToCopyValue(from, to, e);
      }
   }
protected final void copyValue ( ExtendedStatistic from , ExtendedStatistic to ) { try { double value = container . getValue ( from ) ; container . addValue ( to , value ) ; if ( log . isDebugEnabled ( ) ) { log . debugf ( "Copy value [%s] from [%s] to [%s]" , value , from , to ) ; } } catch ( ExtendedStatisticNotFoundException e ) { log . unableToCopyValue ( from , to , e ) ; } }
Copies a statistic value and adds it to another statistic.