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

org.infinispan.hotrod.impl.operations.IterationNextResponse Maven / Gradle / Ivy

There is a newer version: 14.0.32.Final
Show newest version
package org.infinispan.hotrod.impl.operations;

import java.util.List;

import org.infinispan.api.common.CacheEntry;
import org.infinispan.commons.util.IntSet;

/**
 * @since 14.0
 */
public class IterationNextResponse {
   private final short status;
   private final List> entries;
   private final IntSet completedSegments;

   private final boolean hasMore;

   public IterationNextResponse(short status, List> entries, IntSet completedSegments, boolean hasMore) {
      this.status = status;
      this.entries = entries;
      this.completedSegments = completedSegments;
      this.hasMore = hasMore;
   }

   public boolean hasMore() {
      return hasMore;
   }

   public List> getEntries() {
      return entries;
   }

   public short getStatus() {
      return status;
   }

   public IntSet getCompletedSegments() {
      return completedSegments;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy