package org.infinispan.server.hotrod.test;

import java.util.Optional;

import org.infinispan.server.hotrod.HotRodOperation;
import org.infinispan.server.hotrod.OperationStatus;

/**
 * @author wburns
 * @since 9.0
 */
public class TestGetResponse extends TestResponse {
   final Optional<byte[]> data;

   protected TestGetResponse(byte version, long messageId, String cacheName, short clientIntel,
                             HotRodOperation operation, OperationStatus status, int topologyId,
                             AbstractTestTopologyAwareResponse topologyResponse, Optional<byte[]> data) {
      super(version, messageId, cacheName, clientIntel, operation, status, topologyId, topologyResponse);
      this.data = data;
   }
}
