org.infinispan.xsite.XSiteReplicateCommand Maven / Gradle / Ivy
package org.infinispan.xsite;
import org.infinispan.commands.remote.BaseRpcCommand;
import org.infinispan.util.ByteString;
/**
* Abstract class to invoke RPC on the remote site.
*
* @author Pedro Ruivo
* @since 7.0
*/
public abstract class XSiteReplicateCommand extends BaseRpcCommand {
private String originSite;
protected XSiteReplicateCommand(ByteString cacheName) {
super(cacheName);
}
public abstract Object performInLocalSite(BackupReceiver receiver) throws Throwable;
public String getOriginSite() {
return originSite;
}
public void setOriginSite(String originSite) {
this.originSite = originSite;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy