Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

At times, we need to fire large number of events at the schedule time but due to the following reasons, events may not fire at its schedule time.

If an event is not fired at its scheduled time, the event is considered as a delayed event. When the thread and system become available, the delayed event will be fired. This will happen as long as delay is not more than misfire threshold. If the delay is more than misfire threshold, the event is considered as a misfired event.

...

misfireThreshold: Time interval (in milliseconds) to consider an event as misfire event.

threadCount: Total number of working threads to execute scheduled events. The value depends on the number of events to be executed at the scheduled time.