deprecated methods removed

pull/3048/head
Nikita Koksharov 4 years ago
parent 44741c946e
commit 3595d6e394

@ -144,15 +144,4 @@ public class RedissonBuckets implements RBuckets {
return commandExecutor.writeAsync(params.get(0).toString(), RedisCommands.MSET, params.toArray());
}
@Override
public RFuture<Long> deleteAsync(String... keys) {
RedissonKeys ks = new RedissonKeys(commandExecutor);
return ks.deleteAsync(keys);
}
@Override
public long delete(String... keys) {
return commandExecutor.get(deleteAsync(keys));
}
}

@ -52,10 +52,4 @@ public interface RBuckets extends RBucketsAsync {
*/
void set(Map<String, ?> buckets);
/*
* Use RKeys.delete method instead
*/
@Deprecated
long delete(String... keys);
}

@ -53,10 +53,4 @@ public interface RBucketsAsync {
*/
RFuture<Void> setAsync(Map<String, ?> buckets);
/*
* Use RKeys.deleteAsync method instead
*/
@Deprecated
RFuture<Long> deleteAsync(String... keys);
}

Loading…
Cancel
Save