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

org.infinispan.client.hotrod.impl.operations.IterationStartResponse Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.client.hotrod.impl.operations;

import org.infinispan.client.hotrod.impl.consistenthash.SegmentConsistentHash;

import io.netty.channel.Channel;

/**
 * @author gustavonalle
 * @since 8.0
 */
public class IterationStartResponse {
   private final byte[] iterationId;
   private final SegmentConsistentHash segmentConsistentHash;
   private final int topologyId;
   private final Channel channel;

   IterationStartResponse(byte[] iterationId, SegmentConsistentHash segmentConsistentHash, int topologyId, Channel channel) {
      this.iterationId = iterationId;
      this.segmentConsistentHash = segmentConsistentHash;
      this.topologyId = topologyId;
      this.channel = channel;
   }

   public byte[] getIterationId() {
      return iterationId;
   }

   public SegmentConsistentHash getSegmentConsistentHash() {
      return segmentConsistentHash;
   }

   public Channel getChannel() {
      return channel;
   }

   public int getTopologyId() {
      return topologyId;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy