Configure the value for the heartbeat settings. The first number
represents how often the server will write or send a heartbeat.
The second is how often the client should write. 0 means no heartbeats.
<p>By default this is set to "0, 0" unless the {@link #setTaskScheduler
taskScheduler} in which case the default becomes "10000,10000"
(in milliseconds).
@since 4.2
Configure the value for the heartbeat settings. The first number represents how often the server will write or send a heartbeat. The second is how often the client should write. 0 means no heartbeats. <p>By default this is set to "0, 0" unless the {@link #setTaskScheduler taskScheduler} in which case the default becomes "10000,10000" (in milliseconds). @since 4.2