mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
27.44.2014 234bef123ecd0ff73ff79805a6f2ee44184e89a0
Additional fix for OPENDJ-1197: API is lacking functionality to specify TCP connect timeout

* improve Javadoc for TimeoutEventListener.handleTimeout()
1 files modified
10 ■■■■ changed files
opendj-core/src/main/java/org/forgerock/opendj/ldap/TimeoutEventListener.java 10 ●●●● patch | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/TimeoutEventListener.java
@@ -20,8 +20,7 @@
 *
 * CDDL HEADER END
 *
 *
 *      Copyright 2013 ForgeRock AS.
 *      Copyright 2013-2014 ForgeRock AS.
 */
package org.forgerock.opendj.ldap;
@@ -41,15 +40,16 @@
     * Handle a timeout event.
     *
     * @param currentTime
     *            time to use as current time for any check
     * @return the delay to wait before next timeout callback in milliseconds
     *            Time to use as current time for any check.
     * @return The delay to wait before next timeout callback in milliseconds,
     *         or zero if this listener should no longer be notified.
     */
    long handleTimeout(final long currentTime);
    /**
     * Returns the timeout for this listener.
     *
     * @return the timeout in milliseconds
     * @return The timeout in milliseconds.
     */
    long getTimeout();