public static void execute(String name) throws InterruptedException {
    await(name);
    schedule(name);
    await(name);
  }
public static void execute ( String name ) throws InterruptedException { await ( name ) ; schedule ( name ) ; await ( name ) ; }
Convenience method for executing a heartbeat and waiting for it to complete.

@param name the name of the heartbeat to execute
@throws InterruptedException if the waiting thread is interrupted