Correct Javadoc

This commit is contained in:
Michael Osipov 2019-12-15 10:55:55 +01:00
parent 434d5e5046
commit 3d502c9ac4
7 changed files with 14 additions and 14 deletions

View File

@ -36,13 +36,13 @@ import org.apache.hc.core5.util.TimeValue;
* An implementation that backs off exponentially based on the number of
* consecutive failed attempts. It uses the following defaults:
* <pre>
* no delay in case it was never tried or didn't fail so far
* 6 secs delay for one failed attempt (= {@link #getInitialExpiry()})
* 60 secs delay for two failed attempts
* 10 mins delay for three failed attempts
* 100 mins delay for four failed attempts
* ~16 hours delay for five failed attempts
* 24 hours delay for six or more failed attempts (= {@link #getMaxExpiry()})
* no delay in case it was never tried or didn't fail so far
* 6 s delay for one failed attempt (= {@link #getInitialExpiry()})
* 60 s delay for two failed attempts
* 10 min delay for three failed attempts
* 100 min delay for four failed attempts
* ~16 h delay for five failed attempts
* 24 h delay for six or more failed attempts (= {@link #getMaxExpiry()})
* </pre>
*
* The following equation is used to calculate the delay for a specific pending operation:

View File

@ -66,7 +66,7 @@ import org.slf4j.LoggerFactory;
/**
* Usually the last HTTP/1.1 request execution handler in the asynchronous
* request execution chain that is responsible for execution of
* request / response exchanges with the opposite endpoint.
* request/response exchanges with the opposite endpoint.
*
* @since 5.0
*/

View File

@ -505,7 +505,7 @@ public class PoolingHttpClientConnectionManager
}
/**
* Defines period of inactivity in milliseconds after which persistent connections must
* Defines period of inactivity after which persistent connections must
* be re-validated prior to being {@link #lease(String, HttpRoute, Object)} leased} to the consumer.
* Non-positive value passed to this method disables connection validation. This check helps
* detect connections that have become stale (half-closed) while kept inactive in the pool.

View File

@ -177,7 +177,7 @@ public class PoolingHttpClientConnectionManagerBuilder {
}
/**
* Sets period after inactivity in milliseconds after which persistent
* Sets period after inactivity after which persistent
* connections must be checked to ensure they are still valid.
*
* @see org.apache.hc.core5.http.io.HttpClientConnection#isStale()

View File

@ -476,7 +476,7 @@ public class PoolingAsyncClientConnectionManager implements AsyncClientConnectio
}
/**
* Defines period of inactivity in milliseconds after which persistent connections must
* Defines period of inactivity after which persistent connections must
* be re-validated prior to being {@link #lease(String, HttpRoute, Object, Timeout,
* FutureCallback)} leased} to the consumer. Non-positive value passed
* to this method disables connection validation. This check helps detect connections

View File

@ -154,7 +154,7 @@ public class PoolingAsyncClientConnectionManagerBuilder {
}
/**
* Sets period after inactivity in milliseconds after which persistent
* Sets period after inactivity after which persistent
* connections must be checked to ensure they are still valid.
*
* @see org.apache.hc.core5.http.io.HttpClientConnection#isStale()

View File

@ -118,7 +118,7 @@ public final class DateUtils {
}
/**
* Tests if the first message is after (newer) than seconds message
* Tests if the first message is after (newer) than second one
* using the given message header for comparison.
*
* @param message1 the first message
@ -154,7 +154,7 @@ public final class DateUtils {
}
/**
* Tests if the first message is before (older) than seconds message
* Tests if the first message is before (older) than the second one
* using the given message header for comparison.
*
* @param message1 the first message