Interface XSiteStateProvider

    • Method Detail

      • startStateTransfer

        void startStateTransfer​(java.lang.String siteName,
                                Address requestor,
                                int minTopologyId)
        It notifies this node to start sending state to the remote site. Also, it should keep information about which node requested the state transfer in order to send back the notification when finishes.
        siteName - the remote site name.
        requestor - the requestor.
        minTopologyId - the topology id to wait before start sending the state.
      • cancelStateTransfer

        void cancelStateTransfer​(java.lang.String siteName)
        It cancels the state transfer for the remote site. If no state transfer is available, it should do nothing.
        siteName - the remote site name.
      • getCurrentStateSending

        java.util.Collection<java.lang.String> getCurrentStateSending()
        a site name collection with the sites in which this cache is sending state.
      • getSitesMissingCoordinator

        java.util.Collection<java.lang.String> getSitesMissingCoordinator​(java.util.Collection<Address> currentMembers)
        a site name collection with sites in which the coordinator is not in the currentMembers.