def _set_client_id(self, client_id):
        """
        Method for tracer to set client ID of throttler.
        """
        with self.lock:
            if self.client_id is None:
                self.client_id = client_id