Ignite Job Scheduler

We configured closures and jobs, and executed them on remote nodes using the MapReduce/distributed closure API. Apache Ignite's job scheduler API can execute remote jobs periodically. The IgniteScheduler.scheduleLocal() method can be configured to execute periodically on a local node using the UNIX cron syntax. The IgniteScheduler APIs operate on Runnable and Callable. The following are the IgniteScheduler methods:

In this section, we will examine local job scheduling. If you want to execute a code snippet after N secs/minutes/hours and so on, the steps are as follows:

  • Add a class, RunLocalSchedulerTest, start a local ...

Get Apache Ignite Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.