xuzhiyonggithubper commented on issue #1925:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1925#issuecomment-675795619


   main方法中执行,伪代码如下,使用Executors执行特定任务,特定任务实现Callable接口。如果不使用线程函数式从上往下结果正常。
   
   Executors es
   ArrayList<Callable> list=new ArrayList<>()
   list.add(new Watch());
   es.invaokeall(list)
   futures.for
   future.get
   invoke other microservice appear exception
   
   //future中调用其他微服务,会出现不正常的日志,函数式从上往下正常。watch是个执行即阻塞的方法(直到满足A添条件)
   class Watch is a asynchronous task


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to