So, for example, suppose once an hour we want to get timer events every minute for 10 minutes, and then 50 minutes where no timer events occur.
因此,在每个小时中,我们可以希望在10分钟内每一分钟触发一次计时器事件,而接下来的50 分钟内不触发事件。
The notification broker sends these timer notification messages to the timer service.
通知代理将这些定时器通知消息发送到定时器服务。
But suppose the broker was down for 15 minutes and we set up a timer for once every minute, will the broker create 15 timer event messages when it restarts?
但假定代理停止工作15分钟,而设置了一个每分钟进行一次计时的计时器,代理是否会在重新启动时创建15条计时器消息?
These two fields represent the original number of timer events requested and the current timer event number.
这两个字段表示所请求的计时器事件原始数量和当前计时器事件数量。
My personal favorite feature is that you can have it continuously emit a ticking sound while the timer is running, just like a kitchen timer would.
我私家最喜欢的功能是,你可以让它不断发出滴答声,就像一个在真正运行的厨房定时器。
You can set the timer to capture any area of your screen at whatever time you decide as you manipulate the timer to benefit you.
你可以设置定时器来截取屏幕的任意区域,你可以操作定时器在任何你想要的时间来截图。
You stop the retransmission timer by removing the timer from the timer wheel.
通过将计时器从计时器轮中删除,您可以停止重新传输计时器。
If another key stroke comes in before the timer goes off, the original timer is canceled and a new timer is created.
如果另外一次击键在计时器停止之前,则原来的计时器将被取消,同时创建一个新的计时器。
The timer events raised by this timer class are synchronous with respect to the rest of the code in your Windows Forms app.
这个定时器类引发的定时器事件是同你的窗口应用程序的其余代码相同步的。
The timer is not periodic; you set it when the timer event is triggered, and then the event is removed from the event queue.
计时器不是周期性的;当触发计时器事件时设置它,然后从事件队列中删除事件。
This article explains an alternative method for implementing TCP's retransmission timer based on a timer wheel algorithm.
本文说明了基于计时器轮算法实现TCP的重新传输计时器的一种备选方法。
A better approach is to start a timer, and have timer poke the event thread every so often to go look at the staging area for updates.
更好的方法是启动计时器,并且使计时器不时地提醒事件线程去查看中间区域,以寻找更新。
Retransmission timer expires for a connection that is using the timer wheel algorithm.
一个使用计时器轮算法的连接的重新传输计时器计时到期。
An active timer is one which is still producing timer events.
活动计时器是仍然在产生计时器事件的计时器。
And the moment that the light - emitting diode is occluded, the timer starts, and the moment that the light - emitting diode emerges again, the timer stops.
那一个瞬间,闪光二极管被挡住,计时器开始,那一个瞬间,闪光二极管再次出现,计时器停止。
When the timer timestamp is reached the timer service sends the alerts out to the broker.
当定时器时间戳到达时,定时器服务将警报发送到代理。
The timer service sets the timer to the specified timestamp.
定时器服务将定时器设置为指定的时间戳。
For example, if the interval is set to 5 seconds and 3 seconds have already elapsed before the interval is changed to 10 seconds, the next timer event will be 13 seconds from the last timer event.
比如,设置了一个5秒的间隔,在间隔被改变为10秒时3秒已经过去了,那么下一个定时器事件将会在上一个定时器事件13秒后发生。
Just like the rest of the code in a typical Windows Forms application, any code that resides inside a timer event handler (for this type of timer class) is executed using the application's UI thread.
就像一个典型窗体程序里的其它代码一样,任何驻留在一个定时器事件处理函数(指的是该类型的定时器类)中的代码也是使用应用程序的UI线程所执行。
A timer handling routine is called to process the retransmission timer expiry.
调用一个计时器处理例程以处理重新传输计时器的计时到期。
All you have to do is click on the timer below to head over to Tick Tock timer.
你必须要做的就是点击眼前的计时器超越时间。
Start the timer: Use an actual timer — it’s too easy to “forget” to look at the clock.
开始倒计时:用一个专门的倒计时器——单单看钟很容易“遗忘”。
Timer-based events (timed notifications): Driven by timer events set by Milestone and include Notification message as body.
Timer-based events (timednotifications):由Milestone设置的定时器事件驱动并包含作为主体的Notification消息。
The timer wheel is a collection of buckets in which each bucket represents a chunk of time in the future for timer expiration.
时间轮是一个buckets集合,其中每个bucker 表示将来计时器过期的一个时间块。
This state object is passed to your timer callback function during each timer event invocation.
在每一个定时器事件被调用时该state对象作为一个参数传递给你的定时回调函数。
The AllowOverwrite flag indicates whether or not it is permissible to change the settings of a timer while that timer is still active.
AllowOverwrite标志指示是否允许在计时器仍然处于活动状态时更改计时器设置。
This is because during the five seconds that the first timer event was sleeping, the timer kept on generating Elapsed events on different worker threads.
这是因为在这5秒期间第一个定时器事件正在睡眠,而定时器却在不同的工作者线程上继续产生时间消失事件。
You can specify 0 to start the timer immediately or to prevent the timer from automatically starting, you can use the System.Threading.Timeout.Infinite constant.
你可指定一个0立即开始定时器或者阻止定时器自动的开始,你可以使用System . Threading . Timeout . Infinite常量。
To maximize code reuse, the sample application calls the same ShowTimerEventFired method from all three different types of timer events. Here are the three timer event handlers.
为了最大限度的代码重用,三种不同类型的定时器事件都调用了同样的ShowTimerEventFired方法,下面就是三个定时器事件的处理函数。
At that moment, the timer starts and then it breaks this wire and that's when the timer stops.
在这瞬间,计时器就会启动,在它击断铁丝ii时,计时器就会停止。
应用推荐