org.infinispan.commands.read.DistributedExecuteCommand Maven / Gradle / Ivy
package org.infinispan.commands.read;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
import java.util.concurrent.Callable;
import java.util.concurrent.CompletableFuture;
import org.infinispan.Cache;
import org.infinispan.commands.CancellableCommand;
import org.infinispan.commands.VisitableCommand;
import org.infinispan.commands.Visitor;
import org.infinispan.commands.remote.BaseRpcCommand;
import org.infinispan.commons.marshall.MarshallUtil;
import org.infinispan.context.InvocationContext;
import org.infinispan.distexec.DistributedCallable;
import org.infinispan.distexec.spi.DistributedTaskLifecycleService;
import org.infinispan.util.ByteString;
/**
* DistributedExecuteCommand is used to migrate Callable and execute it in remote JVM.
*
* @author Vladimir Blagojevic
* @author Mircea Markus
* @since 5.0
*/
public class DistributedExecuteCommand extends BaseRpcCommand implements VisitableCommand, CancellableCommand{
public static final int COMMAND_ID = 19;
private static final long serialVersionUID = -7828117401763700385L;
private Cache
© 2015 - 2025 Weber Informatics LLC | Privacy Policy