@ -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);
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
RFuture<Long> deleteAsync(String... keys);