Can I make a database call within CompletableFuture runAsync?

后端 未结 0 961
我寻月下人不归
我寻月下人不归 2021-01-14 06:01

I have a use case where I need to make a database call to retrieve some data within the runAsync(). I have the following method:

return Completab         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题