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.
2 parents 0b782d8 + eca4a6b commit af9316aCopy full SHA for af9316a
src/com/rabbitmq/client/ConnectionFactory.java
@@ -343,8 +343,9 @@ public int getShutdownTimeout() {
343
}
344
345
/**
346
- * Set the requested heartbeat.
347
- * @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
348
+ * @see <a href="http://rabbitmq.com/heartbeats.html">RabbitMQ Heartbeats Guide</a>
349
*/
350
public void setRequestedHeartbeat(int requestedHeartbeat) {
351
this.requestedHeartbeat = requestedHeartbeat;
0 commit comments