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

com.microsoft.azure.documentdb.internal.routing.RoutingMapProvider Maven / Gradle / Ivy

package com.microsoft.azure.documentdb.internal.routing;

import java.util.Collection;

import com.microsoft.azure.documentdb.PartitionKeyRange;

/**
 * Used internally in request routing in the Azure Cosmos DB database service.
 */
public interface RoutingMapProvider {
    Collection getOverlappingRanges(String collectionSelfLink, Range range, boolean forceRefresh);

    PartitionKeyRange tryGetRangeByEffectivePartitionKey(String collectionSelfLink, String effectivePartitionKey);

    PartitionKeyRange getPartitionKeyRangeById(String collectionSelfLink, String partitionKeyRangeId, boolean forceRefresh);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy