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_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.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;
}
}