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()CompletionStage<Void>handleRemoteCommand(org.infinispan.commands.VisitableCommand command, boolean preserveOrder)CompletionStage<Void>handleStateTransferControl(XSiteStateTransferControlCommand command)It handles the state transfer control from a remote site.CompletionStage<Void>handleStateTransferState(XSiteStatePushCommand cmd)It handles the state transfer state from a remote site.
-
-
-
Method Detail
-
getCache
Cache getCache()
-
handleRemoteCommand
CompletionStage<Void> handleRemoteCommand(org.infinispan.commands.VisitableCommand command, boolean preserveOrder)
-
handleStateTransferControl
CompletionStage<Void> handleStateTransferControl(XSiteStateTransferControlCommand command)
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.
-
handleStateTransferState
CompletionStage<Void> handleStateTransferState(XSiteStatePushCommand cmd)
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.
-
-