Class PrimaryReplicaProvider

java.lang.Object
org.gridgain.internal.eviction.PrimaryReplicaProvider

public class PrimaryReplicaProvider extends Object
Provides primary replica information for the current node.
  • Constructor Details

    • PrimaryReplicaProvider

      public PrimaryReplicaProvider(org.apache.ignite.internal.network.InternalClusterNode localNode, org.apache.ignite.internal.placementdriver.PlacementDriver placementDriver)
      Constructor.
  • Method Details

    • getPartitionsByZoneId

      public List<Integer> getPartitionsByZoneId(int zoneId)
      Returns a list of partition IDs for the given zone ID which primary replica is on the current node.
      Parameters:
      zoneId - Zone ID.
      Returns:
      List of partition IDs.