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

org.infinispan.server.resp.tx.TransactionCommand Maven / Gradle / Ivy

There is a newer version: 15.1.4.Final
Show newest version
package org.infinispan.server.resp.tx;

import java.util.List;
import java.util.concurrent.CompletionStage;

import org.infinispan.server.resp.Resp3Handler;
import org.infinispan.server.resp.RespCommand;
import org.infinispan.server.resp.RespRequestHandler;

import io.netty.channel.ChannelHandlerContext;

public class TransactionCommand {

   private final RespCommand command;
   private final List arguments;

   TransactionCommand(RespCommand command, List arguments) {
      this.command = command;
      this.arguments = arguments;
   }

   public CompletionStage perform(Resp3Handler handler, ChannelHandlerContext ctx) {
      return handler.handleRequest(ctx, command, arguments);
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy