code: public void await(long weight, long timeout, TimeUnit unit) throws InterruptedException, TimeoutException {
          barrier.await(weight, timeout, unit);
      }
docs: 等待自己当前的weight任务可以被执行,带超时控制
  
  @throws InterruptedException
  @throws TimeoutException