Package org.infinispan.xsite
Interface BackupReceiver
-
- All Known Implementing Classes:
BaseBackupReceiver,ClusteredCacheBackupReceiver,LocalCacheBackupReceiver
public interface BackupReceiverComponent present on a backup site that manages the backup information and logic.- Since:
- 5.2
- Author:
- Mircea Markus
- See Also:
ClusteredCacheBackupReceiver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CachegetCache()java.lang.ObjecthandleRemoteCommand(org.infinispan.commands.VisitableCommand command)voidhandleStateTransferControl(XSiteStateTransferControlCommand command)It handles the state transfer control from a remote site.voidhandleStateTransferState(XSiteStatePushCommand cmd)It handles the state transfer state from a remote site.
-
-
-
Method Detail
-
getCache
Cache getCache()
-
handleRemoteCommand
java.lang.Object handleRemoteCommand(org.infinispan.commands.VisitableCommand command) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
handleStateTransferControl
void handleStateTransferControl(XSiteStateTransferControlCommand command) throws java.lang.Exception
It handles the state transfer control from a remote site. The control command must be broadcast to the entire cluster in which the cache exists.- Throws:
java.lang.Exception
-
handleStateTransferState
void handleStateTransferState(XSiteStatePushCommand cmd) throws java.lang.Exception
It handles the state transfer state from a remote site. It is possible to have a single node applying the state or forward the state to respective primary owners.- Throws:
java.lang.Exception
-
-