org.infinispan.commands.write.AbstractDataWriteCommand Maven / Gradle / Ivy
package org.infinispan.commands.write;
import org.infinispan.commands.CommandInvocationId;
import org.infinispan.commands.read.AbstractDataCommand;
import org.infinispan.context.Flag;
import org.infinispan.util.concurrent.locks.RemoteLockCommand;
import java.util.Collection;
import java.util.Collections;
import java.util.Set;
/**
* Stuff common to WriteCommands
*
* @author Manik Surtani
* @since 4.0
*/
public abstract class AbstractDataWriteCommand extends AbstractDataCommand implements DataWriteCommand, RemoteLockCommand {
protected CommandInvocationId commandInvocationId;
protected AbstractDataWriteCommand() {
}
protected AbstractDataWriteCommand(Object key, Set flags, CommandInvocationId commandInvocationId) {
super(key, flags);
this.commandInvocationId = commandInvocationId;
}
@Override
public Set
© 2015 - 2025 Weber Informatics LLC | Privacy Policy