2011-04-18 25 views

回答

2

ScheduledThreadPoolExecutor有一個getQueue()方法,您可以使用。您可以查詢有關等待任務的各種信息(例如getQueue().getSize())。

相關問題