We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b04d8ff commit eca4a6bCopy full SHA for eca4a6b
src/com/rabbitmq/client/ConnectionFactory.java
@@ -346,8 +346,9 @@ public int getShutdownTimeout() {
346
}
347
348
/**
349
- * Set the requested heartbeat.
350
- * @param requestedHeartbeat the initially requested heartbeat interval, in seconds; zero for none
+ * Set the requested heartbeat timeout. Heartbeat frames will be sent at about 1/2 the timeout interval.
+ * @param requestedHeartbeat the initially requested heartbeat timeout, in seconds; zero for none
351
+ * @see <a href="http://rabbitmq.com/heartbeats.html">RabbitMQ Heartbeats Guide</a>
352
*/
353
public void setRequestedHeartbeat(int requestedHeartbeat) {
354
this.requestedHeartbeat = requestedHeartbeat;
0 commit comments