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

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

The newest version!
package org.infinispan.hotrod.impl.operations;

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

import io.netty.channel.Channel;

/**
 * @since 14.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