public void registerCheck(String checkId, String name, long ttl, @SuppressWarnings("SameParameterValue") String notes) {
    """
	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 ttl     Time to live for the Consul dead man's switch.
	@param notes   Human readable notes.  Not used by Consul.
    """
        Check check = new Check();
        check.setId(checkId);
        check.setName(name);
        check.setTtl(String.format("%ss", ttl));
        check.setNotes(notes);
        registerCheck(check);
    }
public void registerCheck(String checkId, String name, long ttl, @SuppressWarnings("SameParameterValue") String notes) {
        Check check = new Check();
        check.setId(checkId);
        check.setName(name);
        check.setTtl(String.format("%ss", ttl));
        check.setNotes(notes);
        registerCheck(check);
    }
public void registerCheck ( String checkId , String name , long ttl , @ SuppressWarnings ( "SameParameterValue" ) String notes ) { Check check = new Check ( ) ; check . setId ( checkId ) ; check . setName ( name ) ; check . setTtl ( String . format ( "%ss" , ttl ) ) ; check . setNotes ( notes ) ; registerCheck ( check ) ; }
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 ttl     Time to live for the Consul dead man's switch.
@param notes   Human readable notes.  Not used by Consul.
Registers a Health Check with the Agent .