Java waiting for a variable before executing a Callable

后端 未结 0 1409
旧时难觅i
旧时难觅i 2021-01-20 19:17

I am connecting to a database, I am using threads and I only want one connection to be active at a time. I was trying to do that like this:

public class Datab         


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