setHeartbeat

Set the heartbeat interval, in seconds. The default is 5 minutes (300 seconds). Setting the parameter to 0 will restore the default.

Must be non-negative and less than Integer.MAX_VALUE milliseconds