use of org.infinispan.xsite.statetransfer.XSiteStateConsumer in project infinispan by infinispan.
the class XSiteStateTransferStartReceiveCommand method invokeAsync.
@Override
public CompletionStage<?> invokeAsync(ComponentRegistry registry) {
XSiteStateTransferManager stateTransferManager = registry.getXSiteStateTransferManager().running();
XSiteStateConsumer consumer = stateTransferManager.getStateConsumer();
consumer.startStateTransfer(siteName);
return CompletableFutures.completedNull();
}
Aggregations