com.redislabs.picocliredis.JedisOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of picocli-redis Show documentation
Show all versions of picocli-redis Show documentation
Picocli configuration for Redis
package com.redislabs.picocliredis;
import lombok.Data;
import picocli.CommandLine.Option;
import redis.clients.jedis.Protocol;
public @Data class JedisOptions {
@Option(names = "--connect-timeout", description = "Connect timeout (default: ${DEFAULT-VALUE})", paramLabel = "")
private int connectTimeout = Protocol.DEFAULT_TIMEOUT;
@Option(names = "--socket-timeout", description = "Socket timeout (default: ${DEFAULT-VALUE})", paramLabel = "")
private int socketTimeout = Protocol.DEFAULT_TIMEOUT;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy