public void registerCheck(String checkId, String name, String script, long interval) {
    """
	Registers a Health Check with the Agent.
	
	@param checkId  The Check ID to use.  Must be unique for the Agent.
	@param name     The Check Name.
	@param script   Health script for Consul to use.
	@param interval Health script run interval in seconds.
    """
        registerCheckWithNotes(checkId, name, script, interval, null);
    }
public void registerCheck(String checkId, String name, String script, long interval) {
        registerCheckWithNotes(checkId, name, script, interval, null);
    }
public void registerCheck ( String checkId , String name , String script , long interval ) { registerCheckWithNotes ( checkId , name , script , interval , null ) ; }
Registers a Health Check with the Agent.

@param checkId  The Check ID to use.  Must be unique for the Agent.
@param name     The Check Name.
@param script   Health script for Consul to use.
@param interval Health script run interval in seconds.
Registers a Health Check with the Agent .