Interface StateConsumer

    • Method Detail

      • isStateTransferInProgress

        boolean isStateTransferInProgress()
      • isStateTransferInProgressForKey

        boolean isStateTransferInProgressForKey​(Object key)
      • stop

        void stop()
        Cancels all incoming state transfers. The already received data is not discarded. This is executed when the cache is shutting down.
      • stopApplyingState

        void stopApplyingState​(int topologyId)
        Stops applying incoming state. Also stops tracking updated keys. Should be called at the end of state transfer or when a ClearCommand is committed during state transfer.
        Parameters:
        topologyId - Topology id at the end of state transfer
      • ownsData

        boolean ownsData()
        Returns:
        true if this node has already received the first rebalance command