All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.scattered.ScatteredStateProvider Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.scattered;

import org.infinispan.remoting.transport.Address;
import org.infinispan.statetransfer.StateProvider;

import java.util.Set;
import java.util.concurrent.CompletableFuture;

/**
 * @author Radim Vansa <[email protected]>
 */
public interface ScatteredStateProvider extends StateProvider {

   void startKeysTransfer(Set segments, Address origin);

   /**
    * Confirm that this node has received cache topology with given topologyId and that it has
    * moved all the segments it does not own according to consistent hash
    * to the {@link ScatteredVersionManager.SegmentState#NOT_OWNED} state.
    *
    * @param topologyId
    */
   CompletableFuture confirmRevokedSegments(int topologyId);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy