moving core to it's own slave/master agnostic location.
Giving machines the ability to track other slaves.
(i.e. introducing the concept of a master slave.)
- You can add, remove, and get the machines tracked by the master.
Using ImmutableList.copyOf instead of Arrays.toList. ImmutableLists are optimized when copying to another ImmutableList so we should use it everywhere.
forgot getter.
moving heartbeat into the Slave module.
Deleting master module.
adding config for heartbeat:
- Number of threads to use for the heartbeat
- interval in MS how long to wait inbetween polling the same machine.
Adding quartz for scheduling tasks.
This will be used for the heartbeat.
Implementing Quartz heartbeat
- Now when a Slave is added, the heartbeat is automatically turned on for that slave.
- Each slave is scheduled to be heartbeat'ed every X milliseconds (defaults to 10000ms).
- Currently the heartbeat just logs.
- When a slave is removed, the heartbeat task is deleted from the scheduler.