With the Timer class, you can have a TimerTask that runs for a long time, blocking other tasks from running.
借助timer类,您可以拥有一个长时间运行的TimerTask,阻止其他任务运行。
It could be caused by a colleague blocking your favorite project, a boss who is too disorganized to get to your meeting on time, or simply being on hold on the phone for a long time.
它有可能是因为您的一位同事妨碍了您最喜欢的某个项目或是您的一位上司太缺乏时间观念而不能准时参加您的会议或者只是简单地因为您在电话这头等待的时间太长了。
A blocking method is different from an ordinary method that just takes a long time to run.
阻塞方法不同于一般的要运行较长时间的方法。
应用推荐