Feature - RSortedSet implements RExpirable. #5326

pull/5329/head
Nikita Koksharov 1 year ago
parent d9664b59ab
commit d6df3075df

@ -489,22 +489,22 @@ public class RedissonSortedSet<V> extends RedissonExpirable implements RSortedSe
@Override
public RFuture<Boolean> deleteAsync() {
return deleteAsync(getRawName(), getComparatorKeyName());
return deleteAsync(getRawName(), getComparatorKeyName(), getLockName());
}
@Override
public RFuture<Boolean> expireAsync(long timeToLive, TimeUnit timeUnit, String param, String... keys) {
return super.expireAsync(timeToLive, timeUnit, param, getRawName(), getComparatorKeyName());
return super.expireAsync(timeToLive, timeUnit, param, getRawName(), getComparatorKeyName(), getLockName());
}
@Override
protected RFuture<Boolean> expireAtAsync(long timestamp, String param, String... keys) {
return super.expireAtAsync(timestamp, param, getRawName(), getComparatorKeyName());
return super.expireAtAsync(timestamp, param, getRawName(), getComparatorKeyName(), getLockName());
}
@Override
public RFuture<Boolean> clearExpireAsync() {
return clearExpireAsync(getRawName(), getComparatorKeyName());
return clearExpireAsync(getRawName(), getComparatorKeyName(), getLockName());
}
}

@ -28,7 +28,7 @@ import org.redisson.api.mapreduce.RCollectionMapReduce;
*
* @param <V> value type
*/
public interface RSortedSet<V> extends SortedSet<V>, RObject {
public interface RSortedSet<V> extends SortedSet<V>, RExpirable {
/**
* Returns <code>RMapReduce</code> object associated with this object

Loading…
Cancel
Save