How to invoke/do timeout when read from stream

后端 未结 0 1816
梦谈多话
梦谈多话 2021-01-02 01:58

How to invoke/do timeout when read from stream ? I testing dbcp2 pool in jdbc in log4j appender and I need in unit test check that polls works. I try set sleep(5000) but no

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