Timer 的 BlackBerry API 文档类说:
This class does not offer real-time guarantees: it schedules tasks using the Object.wait(long) method.
这是什么意思?
最佳答案
这意味着当您安排计时器任务时,该任务将不早于请求的开始时间开始执行,但也可以稍后开始,并且稍后的时间量没有限制。
实时保证会对执行开始之前经过的最长时间进行限制。
关于java - 黑莓编程——定时器类,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4141267/