
redis.clients.jedis.resps.LatencyLatestInfo Maven / Gradle / Ivy
package redis.clients.jedis.resps;
import redis.clients.jedis.Builder;
import java.util.List;
import static redis.clients.jedis.BuilderFactory.LONG;
import static redis.clients.jedis.BuilderFactory.STRING;
public class LatencyLatestInfo {
private final String command;
private final long timestamp;
private final long lastEventLatency;
private final long maxEventLatency;
public LatencyLatestInfo(String command, long timestamp, long lastEventLatency, long maxEventLatency) {
this.command = command;
this.timestamp = timestamp;
this.lastEventLatency = lastEventLatency;
this.maxEventLatency = maxEventLatency;
}
public String getCommand() {
return command;
}
public long getTimestamp() {
return timestamp;
}
public long getLastEventLatency() {
return lastEventLatency;
}
public long getMaxEventLatency() {
return maxEventLatency;
}
public static final Builder LATENCY_LATEST_BUILDER = new Builder() {
@Override
public LatencyLatestInfo build(Object data) {
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy