Reputation: 7248
In vertx prior to 3.7, there was a redis client method mgetmany:
RedisClient mgetMany(List<String> keys,
Handler<AsyncResult<JsonArray>> handler)
Get the values of all the given keys
In the native redis methods what is the counterpart of this?
How could we replace this method using the new RestAPI?
Upvotes: 0
Views: 205
Reputation: 790
Its equivalent redis command is MGET
.
refer redis doc here
You can use any redis client lib to call redis. (For example Jedis, Redision, Lettuce), which will provide you easy to use APIs
Upvotes: 1