
redis.clients.jedis.resps.StreamPendingSummary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis Show documentation
Show all versions of jedis Show documentation
Jedis is a blazingly small and sane Redis java client.
package redis.clients.jedis.resps;
import java.io.Serializable;
import java.util.Map;
import redis.clients.jedis.StreamEntryID;
public class StreamPendingSummary implements Serializable {
private static final long serialVersionUID = 1L;
private final long total;
private final StreamEntryID minId;
private final StreamEntryID maxId;
private final Map consumerMessageCount;
public StreamPendingSummary(long total, StreamEntryID minId, StreamEntryID maxId,
Map consumerMessageCount) {
this.total = total;
this.minId = minId;
this.maxId = maxId;
this.consumerMessageCount = consumerMessageCount;
}
public long getTotal() {
return total;
}
public StreamEntryID getMinId() {
return minId;
}
public StreamEntryID getMaxId() {
return maxId;
}
public Map getConsumerMessageCount() {
return consumerMessageCount;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy