code: private boolean tryAcquirePermit(String planClass) {
      return _concurrentPlans.tryAcquire() &&
          (_planBasedRateLimiter == null || _planBasedRateLimiter.tryAcquire(planClass));
    }
docs: rate limiter and then from plan class level rate limit if specified.