public class XSiteStateProviderImpl extends Object implements XSiteStateProvider
| Constructor and Description |
|---|
XSiteStateProviderImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelStateTransfer(String siteName)
It cancels the state transfer for the remote site.
|
Collection<String> |
getCurrentStateSending() |
Collection<String> |
getSitesMissingCoordinator(Collection<Address> currentMembers) |
void |
startStateTransfer(String siteName,
Address origin,
int minTopologyId)
It notifies this node to start sending state to the remote site.
|
public void startStateTransfer(String siteName, Address origin, int minTopologyId)
XSiteStateProviderstartStateTransfer in interface XSiteStateProvidersiteName - the remote site name.origin - the requestor.minTopologyId - the topology id to wait before start sending the state.public void cancelStateTransfer(String siteName)
XSiteStateProvidercancelStateTransfer in interface XSiteStateProvidersiteName - the remote site name.public Collection<String> getCurrentStateSending()
getCurrentStateSending in interface XSiteStateProviderpublic Collection<String> getSitesMissingCoordinator(Collection<Address> currentMembers)
getSitesMissingCoordinator in interface XSiteStateProvidercurrentMembers.Copyright © 2022 JBoss by Red Hat. All rights reserved.