Class OutboundTransferTask


  • public class OutboundTransferTask
    extends Object
    Outbound state transfer task. Pushes data segments to another cluster member on request. Instances of OutboundTransferTask are created and managed by StateTransferManagerImpl. There should be at most one such task per destination at any time.
    Since:
    5.2
    Author:
    anistor@redhat.com
    • Constructor Detail

    • Method Detail

      • getDestination

        public Address getDestination()
      • getSegments

        public org.infinispan.commons.util.IntSet getSegments()
      • getTopologyId

        public int getTopologyId()
      • execute

        public CompletionStage<Void> execute​(io.reactivex.rxjava3.core.Flowable<InternalCacheEntry<Object,​Object>> entries)
        Starts sending entries from the data container and the first loader with fetch persistent data enabled to the target node.
        Parameters:
        entries - a Flowable with all the entries that need to be sent
        Returns:
        a completion stage that completes when all the entries have been sent.
      • cancel

        public void cancel()
        Cancel the whole task.
      • isCancelled

        public boolean isCancelled()