org.infinispan.commands.write.BackupPutMapRcpCommand Maven / Gradle / Ivy
package org.infinispan.commands.write;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import org.infinispan.commands.CommandInvocationId;
import org.infinispan.commands.TopologyAffectedCommand;
import org.infinispan.commands.remote.BaseRpcCommand;
import org.infinispan.commons.marshall.MarshallUtil;
import org.infinispan.commons.util.EnumUtil;
import org.infinispan.context.Flag;
import org.infinispan.context.InvocationContext;
import org.infinispan.context.InvocationContextFactory;
import org.infinispan.context.impl.FlagBitSets;
import org.infinispan.interceptors.AsyncInterceptorChain;
import org.infinispan.metadata.Metadata;
import org.infinispan.notifications.cachelistener.CacheNotifier;
import org.infinispan.util.ByteString;
/**
* A command sent from the primary owner to the backup owners for a {@link PutMapCommand}.
*
* This command is only visited by the backups owner and in a remote context. The command order is set by {@code
* segmentsAndSequences} map.
*
* @author Pedro Ruivo
* @since 9.0
*/
public class BackupPutMapRcpCommand extends BaseRpcCommand implements TopologyAffectedCommand {
public static final byte COMMAND_ID = 66;
private CommandInvocationId commandInvocationId;
private Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy