public class XSiteStateConsumerImpl extends Object implements XSiteStateConsumer
| Constructor and Description |
|---|
XSiteStateConsumerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyState(XSiteState[] chunk)
It applies state from other site.
|
void |
endStateTransfer(String sendingSite)
It notifies the end of state transfer from other site.
|
String |
getSendingSiteName() |
void |
startStateTransfer(String sendingSite)
It notifies the start of state transfer from other site.
|
public void startStateTransfer(String sendingSite)
XSiteStateConsumerstartStateTransfer in interface XSiteStateConsumersendingSite - the site name that will send the state.public void endStateTransfer(String sendingSite)
XSiteStateConsumerendStateTransfer in interface XSiteStateConsumersendingSite - the site name that is sending the state.public void applyState(XSiteState[] chunk) throws Exception
XSiteStateConsumerapplyState in interface XSiteStateConsumerchunk - a chunk of keysException - if something go wrong while applying the statepublic String getSendingSiteName()
getSendingSiteName in interface XSiteStateConsumerCopyright © 2021 JBoss by Red Hat. All rights reserved.