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()
It notifies the end of state transfer from other site.
|
void |
inject(TransactionManager transactionManager,
InvocationContextFactory invocationContextFactory,
CommandsFactory commandsFactory,
InterceptorChain interceptorChain,
CommitManager commitManager) |
void |
startStateTransfer()
It notifies the start of state transfer from other site.
|
public void inject(TransactionManager transactionManager, InvocationContextFactory invocationContextFactory, CommandsFactory commandsFactory, InterceptorChain interceptorChain, CommitManager commitManager)
public void startStateTransfer()
XSiteStateConsumer
startStateTransfer
in interface XSiteStateConsumer
public void endStateTransfer()
XSiteStateConsumer
endStateTransfer
in interface XSiteStateConsumer
public void applyState(XSiteState[] chunk) throws Exception
XSiteStateConsumer
applyState
in interface XSiteStateConsumer
chunk
- a chunk of keysException
- if something go wrong while applying the stateCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.