Class LocalCacheBackupReceiver

    • Constructor Detail

      • LocalCacheBackupReceiver

        public LocalCacheBackupReceiver​(Cache<Object,​Object> cache)
    • Method Detail

      • handleStateTransferControl

        public void handleStateTransferControl​(XSiteStateTransferControlCommand command)
                                        throws Exception
        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.
        Throws:
        Exception
      • handleStateTransferState

        public void handleStateTransferState​(XSiteStatePushCommand cmd)
                                      throws Exception
        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.
        Throws:
        Exception