黑莓编程——定时器类
The BlackBerry API documentation for the Timer class says:
This class does not offer real-time guarantees: it schedules tasks using the Object.wait(long) method.
What does this mean?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这意味着当您安排计时器任务时,该任务将不会早于请求的开始时间开始执行,但也可以稍后开始,并且稍后的时间量没有限制。
实时保证将对执行开始之前经过的最长时间进行限制。
It means when you schedule a timer task, the task will start executing no sooner than the requested start time, but could start later, and the amount of time later has no bound.
A real-time guarantee would give a bound on the maximum amount of time that elapses before execution starts.