Fixed - expireAt(Instant instant) method of RExpirableReactive and RExpirableRx interfaces doesn't work #4148

pull/4162/head
Nikita Koksharov 3 years ago
parent edab5ecd66
commit 658cc3e140

@ -42,7 +42,7 @@ public interface RExpirableReactive extends RObjectReactive {
Mono<Boolean> expire(long timeToLive, TimeUnit timeUnit);
/**
* Use {@link #expireAt(Instant)} instead
* Use {@link #expire(Instant)} instead
*
* @param timestamp - expire date
* @return <code>true</code> if the timeout was set and <code>false</code> if not
@ -51,7 +51,7 @@ public interface RExpirableReactive extends RObjectReactive {
Mono<Boolean> expireAt(Date timestamp);
/**
* Use {@link #expireAt(Instant)} instead
* Use {@link #expire(Instant)} instead
*
* @param timestamp - expire date in milliseconds (Unix timestamp)
* @return <code>true</code> if the timeout was set and <code>false</code> if not
@ -66,7 +66,7 @@ public interface RExpirableReactive extends RObjectReactive {
* @param instant - expire date
* @return <code>true</code> if the timeout was set and <code>false</code> if not
*/
Mono<Boolean> expireAt(Instant instant);
Mono<Boolean> expire(Instant instant);
/**
* Sets an expiration date for this object only if it has been already set.

@ -42,7 +42,7 @@ public interface RExpirableRx extends RObjectRx {
Single<Boolean> expire(long timeToLive, TimeUnit timeUnit);
/**
* Use {@link #expireAt(Instant)} instead
* Use {@link #expire(Instant)} instead
*
* @param timestamp - expire date
* @return <code>true</code> if the timeout was set and <code>false</code> if not
@ -51,7 +51,7 @@ public interface RExpirableRx extends RObjectRx {
Single<Boolean> expireAt(Date timestamp);
/**
* Use {@link #expireAt(Instant)} instead
* Use {@link #expire(Instant)} instead
*
* @param timestamp - expire date in milliseconds (Unix timestamp)
* @return <code>true</code> if the timeout was set and <code>false</code> if not
@ -66,7 +66,7 @@ public interface RExpirableRx extends RObjectRx {
* @param instant - expire date
* @return <code>true</code> if the timeout was set and <code>false</code> if not
*/
Single<Boolean> expireAt(Instant instant);
Single<Boolean> expire(Instant instant);
/**
* Sets an expiration date for this object only if it has been already set.

Loading…
Cancel
Save