redis.clients.jedis.gears.resps.FunctionInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis_preview Show documentation
Show all versions of jedis_preview Show documentation
Jedis is a blazingly small and sane Redis java client.
The newest version!
package redis.clients.jedis.gears.resps;
import redis.clients.jedis.Builder;
import redis.clients.jedis.util.KeyValue;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
import static redis.clients.jedis.BuilderFactory.*;
public class FunctionInfo {
private final String name;
private final String description;
private final boolean isAsync;
private final List flags;
public String getName() {
return name;
}
public String getDescription() {
return description;
}
public boolean isAsync() {
return isAsync;
}
public List getFlags() {
return flags;
}
public FunctionInfo(String name, String description, boolean isAsync, List flags) {
this.name = name;
this.description = description;
this.isAsync = isAsync;
this.flags = flags;
}
public static final Builder> FUNCTION_INFO_LIST = new Builder>() {
@Override
public List build(Object data) {
List