public function setMetric($metric)
  {
    if (ThrottlerHelper::validateMetric($metric, self::$timeFactor)
        && !$this->isActive())
    {
      $this->metric = strtolower($metric);
      return true;
    }
    return false;
  }