Skip to content

Commit

Permalink
Merge 356bfb9 into 6a85f18
Browse files Browse the repository at this point in the history
  • Loading branch information
jonlockwood committed Dec 4, 2019
2 parents 6a85f18 + 356bfb9 commit bf55255
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -185,7 +185,7 @@ public Boolean exists(byte[] key) {

@Override
public Long exists(byte[]... keys) {
return helper.doInScope(RedisCommand.EXISTS, keys, connection::exists);
return helper.doInScope(RedisCommand.EXISTS, keys, () -> connection.exists(keys));
}

@Override
Expand All @@ -195,7 +195,7 @@ public Long del(byte[]... keys) {

@Override
public Long unlink(byte[]... keys) {
return helper.doInScope(RedisCommand.UNLINK, keys, connection::unlink);
return helper.doInScope(RedisCommand.UNLINK, keys, () -> connection.unlink(keys));
}

@Override
Expand All @@ -205,7 +205,7 @@ public DataType type(byte[] key) {

@Override
public Long touch(byte[]... keys) {
return helper.doInScope(RedisCommand.TOUCH, keys, connection::touch);
return helper.doInScope(RedisCommand.TOUCH, keys, () -> connection.touch(keys));
}

@Override
Expand Down

0 comments on commit bf55255

Please sign in to comment.