Méthode | Description | |
---|---|---|
AddPartition ( ) : Task |
Add a partition (collection) to the consistent hash ring.
|
|
DocumentClientHashPartitioningManager ( string>.Func |
Initializes a new instance of the DocumentClientHashPartitioningManager class.
|
|
RemovePartition ( ) : Task |
Removes a partition (collection) from the consistent hash ring.
|
Méthode | Description | |
---|---|---|
RepartitionData ( int newPartitionCount ) : Task |
Internal method to rebalance data across a different number of partitions.
|
public DocumentClientHashPartitioningManager ( string>.Func | ||
partitionKeyExtractor | string>.Func | The partition key extractor function. |
client | Microsoft.Azure.Documents.Client.DocumentClient | The DocumentDB client instance. |
database | Microsoft.Azure.Documents.Database | The database to partition. |
initialPartitionCount | int | The number of initial partitions to create. |
readMode | TransitionReadMode | The mode to process requests in during data migrations. |
Résultat | AngularAzureSearch.WebAPI.PartitionResolvers |