io.vertx.redis.utils.RedisCommandUtils Maven / Gradle / Ivy
The newest version!
package io.vertx.redis.utils;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
import java.util.*;
import java.util.stream.Stream;
public class RedisCommandUtils {
/**
* A helper method to package method parameters into JsonArray payload.
*
* Null parameters are ignored.
*
* @param parameters Call parameters
* @return JsonArray that can be passed to send()
*/
@SuppressWarnings("unchecked")
public static List> toPayload(Object... parameters) {
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy