javadocs fixed

pull/6227/head
Nikita Koksharov 4 months ago
parent 4f7e483a72
commit 8e4765cf3c

@ -57,11 +57,11 @@ public interface RRateLimiterAsync extends RExpirableAsync {
* @param mode rate mode
* @param rate rate
* @param rateInterval rate time interval
* @param timeToLive time interval before the object will be deleted
* @param keepAliveTime this is the maximum time that key will wait for new acquire before delete
* @return {@code true} if rate was set and {@code false}
* otherwise
*/
RFuture<Boolean> trySetRateAsync(RateType mode, long rate, Duration rateInterval, Duration timeToLive);
RFuture<Boolean> trySetRateAsync(RateType mode, long rate, Duration rateInterval, Duration keepAliveTime);
/**
* Acquires a permit only if one is available at the
@ -220,9 +220,9 @@ public interface RRateLimiterAsync extends RExpirableAsync {
* @param mode rate mode
* @param rate rate
* @param rateInterval rate time interval
* @param timeToLive time interval before the object will be deleted
* @param keepAliveTime this is the maximum time that key will wait for new acquire before delete
*/
RFuture<Void> setRateAsync(RateType mode, long rate, Duration rateInterval, Duration timeToLive);
RFuture<Void> setRateAsync(RateType mode, long rate, Duration rateInterval, Duration keepAliveTime);
/**
* Returns current configuration of this RateLimiter object.

@ -59,11 +59,11 @@ public interface RRateLimiterReactive extends RExpirableReactive {
* @param mode rate mode
* @param rate rate
* @param rateInterval rate time interval
* @param timeToLive time interval before the object will be deleted
* @param keepAliveTime this is the maximum time that key will wait for new acquire before delete
* @return {@code true} if rate was set and {@code false}
* otherwise
*/
Mono<Boolean> trySetRate(RateType mode, long rate, Duration rateInterval, Duration timeToLive);
Mono<Boolean> trySetRate(RateType mode, long rate, Duration rateInterval, Duration keepAliveTime);
/**
* Use {@link #setRate(RateType, long, Duration)} instead.
@ -94,9 +94,9 @@ public interface RRateLimiterReactive extends RExpirableReactive {
* @param mode rate mode
* @param rate rate
* @param rateInterval rate time interval
* @param timeToLive time interval before the object will be deleted
* @param keepAliveTime this is the maximum time that key will wait for new acquire before delete
*/
Mono<Void> setRate(RateType mode, long rate, Duration rateInterval, Duration timeToLive);
Mono<Void> setRate(RateType mode, long rate, Duration rateInterval, Duration keepAliveTime);
/**
* Acquires a permit only if one is available at the

@ -60,11 +60,11 @@ public interface RRateLimiterRx extends RExpirableRx {
* @param mode rate mode
* @param rate rate
* @param rateInterval rate time interval
* @param timeToLive time interval before the object will be deleted
* @param keepAliveTime this is the maximum time that key will wait for new acquire before delete
* @return {@code true} if rate was set and {@code false}
* otherwise
*/
Single<Boolean> trySetRate(RateType mode, long rate, Duration rateInterval, Duration timeToLive);
Single<Boolean> trySetRate(RateType mode, long rate, Duration rateInterval, Duration keepAliveTime);
/**
* Use {@link #setRate(RateType, long, Duration)} instead.
@ -95,9 +95,9 @@ public interface RRateLimiterRx extends RExpirableRx {
* @param mode rate mode
* @param rate rate
* @param rateInterval rate time interval
* @param timeToLive time interval before the object will be deleted
* @param keepAliveTime this is the maximum time that key will wait for new acquire before delete
*/
Single<Void> setRate(RateType mode, long rate, Duration rateInterval, Duration timeToLive);
Single<Void> setRate(RateType mode, long rate, Duration rateInterval, Duration keepAliveTime);
/**
* Acquires a permit only if one is available at the

Loading…
Cancel
Save