public interface IAddressCache
| Modifier and Type | Method and Description |
|---|---|
rx.Single<com.microsoft.azure.cosmosdb.internal.directconnectivity.AddressInformation[]> |
tryGetAddresses(com.microsoft.azure.cosmosdb.rx.internal.RxDocumentServiceRequest request,
com.microsoft.azure.cosmosdb.internal.routing.PartitionKeyRangeIdentity partitionKeyRangeIdentity,
boolean forceRefreshPartitionAddresses)
Resolves physical addresses by either PartitionKeyRangeIdentity.
|
rx.Single<com.microsoft.azure.cosmosdb.internal.directconnectivity.AddressInformation[]> tryGetAddresses(com.microsoft.azure.cosmosdb.rx.internal.RxDocumentServiceRequest request, com.microsoft.azure.cosmosdb.internal.routing.PartitionKeyRangeIdentity partitionKeyRangeIdentity, boolean forceRefreshPartitionAddresses)
request - Request is needed only by GatewayAddressCache in the only case when request is name based and user has name based auth token.
PartitionkeyRangeIdentity can be used to locate auth token in this case.partitionKeyRangeIdentity - target partition key range IdforceRefreshPartitionAddresses - Whether addresses need to be refreshed as previously resolved addresses were determined to be outdated.Copyright © 2021. All rights reserved.