removed constructor taking nodes in HearbeatScheduler with an abstract method for nodes