Package org.infinispan.xsite
Interface BackupReceiver
-
- All Known Implementing Classes:
BaseBackupReceiver
,ClusteredCacheBackupReceiver
,LocalCacheBackupReceiver
public interface BackupReceiver
Component 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 Cache
getCache()
Object
handleRemoteCommand(VisitableCommand command)
void
handleStateTransferControl(XSiteStateTransferControlCommand command)
It handles the state transfer control from a remote site.void
handleStateTransferState(XSiteStatePushCommand cmd)
It handles the state transfer state from a remote site.
-
-
-
Method Detail
-
getCache
Cache getCache()
-
handleRemoteCommand
Object handleRemoteCommand(VisitableCommand command) throws Throwable
- Throws:
Throwable
-
handleStateTransferControl
void handleStateTransferControl(XSiteStateTransferControlCommand command) throws 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:
Exception
-
handleStateTransferState
void handleStateTransferState(XSiteStatePushCommand cmd) throws 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:
Exception
-
-