I have a scenario that i need to implement. the scenario is below.
I have a class handler and a class Healthmonitor. every 10 seconds i have to send a msg to HealthMonitor to update a variable. in one point if it didnt send a msg in a multiple of 10 seconds HealthMonitor DO SOMETHING ELSE
How do i implement this. can someone give an idea to achieve this