Package org.infinispan.xsite
Class LocalCacheBackupReceiver
- java.lang.Object
-
- org.infinispan.xsite.BaseBackupReceiver
-
- org.infinispan.xsite.LocalCacheBackupReceiver
-
- All Implemented Interfaces:
BackupReceiver
public class LocalCacheBackupReceiver extends BaseBackupReceiver
BackupReceiver
implementation for local caches.- Since:
- 7.1
- Author:
- Pedro Ruivo
-
-
Field Summary
-
Fields inherited from class org.infinispan.xsite.BaseBackupReceiver
cache, cacheName, timeService
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletionStage<java.lang.Void>
handleStateTransferControl(XSiteStateTransferControlCommand command)
It handles the state transfer control from a remote site.java.util.concurrent.CompletionStage<java.lang.Void>
handleStateTransferState(XSiteStatePushCommand cmd)
It handles the state transfer state from a remote site.-
Methods inherited from class org.infinispan.xsite.BaseBackupReceiver
getCache, handleRemoteCommand
-
-
-
-
Method Detail
-
handleStateTransferControl
public java.util.concurrent.CompletionStage<java.lang.Void> handleStateTransferControl(XSiteStateTransferControlCommand command)
Description copied from interface:BackupReceiver
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
public java.util.concurrent.CompletionStage<java.lang.Void> handleStateTransferState(XSiteStatePushCommand cmd)
Description copied from interface:BackupReceiver
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.
-
-