Skip to content

Commit

Permalink
Reworded docs for clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Chambers committed Sep 8, 2014
1 parent f5ab059 commit 10ede21
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,21 @@ public void setSentNotificationBufferCapacity(final int sentNotificationBufferCa
}

/**
* Returns the time, in seconds, since the last push notification was sent after which connections created with this
* configuration will be closed. If {@code null}, connections created with this configuration will never be closed
* due to inactivity.
* Returns the time, in seconds, between the sending of the last push notification and connection closure. If
* {@code null}, connections created with this configuration will never be closed due to inactivity.
*
* @return the time, in seconds, since the last push notification was sent after which connections created with this
* configuration will be closed
* @return the time, in seconds, between the sending of the last push notification and connection closure
*/
public Integer getCloseAfterInactivityTime() {
return this.closeAfterInactivityTime;
}

/**
* Sets the time, in seconds, since the last push notification was sent after which connections created with this
* configuration will be closed. If {@code null} (the default), connections will never be closed due to inactivity.
* Sets the time, in seconds, between the sending of the last push notification and connection closure. If
* {@code null} (the default), connections will never be closed due to inactivity.
*
* @param closeAfterInactivityTime the time, in seconds since the last push notification was sent, after which
* connections will be closed
* @param closeAfterInactivityTime the time, in seconds, between the sending of the last push notification and
* connection closure
*/
public void setCloseAfterInactivityTime(final Integer closeAfterInactivityTime) {
this.closeAfterInactivityTime = closeAfterInactivityTime;
Expand Down

0 comments on commit 10ede21

Please sign in to comment.