public interface XSiteStateConsumer
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.
|
void startStateTransfer(String sendingSite)
sendingSite
- the site name that will send the state.CacheException
- if this node is received state from a different site name.void endStateTransfer(String sendingSite)
sendingSite
- the site name that is sending the state.void applyState(XSiteState[] chunk) throws Exception
chunk
- a chunk of keysException
- if something go wrong while applying the stateString getSendingSiteName()
Copyright © 2021 JBoss by Red Hat. All rights reserved.