All Downloads are FREE. Search and download functionalities are using the official Maven repository.

redis.clients.jedis.resps.StreamPendingSummary Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy