public class ConsistencyReader extends Object
| Constructor and Description |
|---|
ConsistencyReader(com.microsoft.azure.cosmosdb.rx.internal.Configs configs,
AddressSelector addressSelector,
ISessionContainer sessionContainer,
TransportClient transportClient,
GatewayServiceConfigurationReader serviceConfigReader,
com.microsoft.azure.cosmosdb.rx.internal.IAuthorizationTokenProvider authorizationTokenProvider) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxReplicaSetSize(com.microsoft.azure.cosmosdb.rx.internal.RxDocumentServiceRequest entity) |
int |
getMinReplicaSetSize(com.microsoft.azure.cosmosdb.rx.internal.RxDocumentServiceRequest entity) |
rx.Single<com.microsoft.azure.cosmosdb.internal.directconnectivity.StoreResponse> |
readAsync(com.microsoft.azure.cosmosdb.rx.internal.RxDocumentServiceRequest entity,
com.microsoft.azure.cosmosdb.internal.directconnectivity.TimeoutHelper timeout,
boolean isInRetry,
boolean forceRefresh) |
public ConsistencyReader(com.microsoft.azure.cosmosdb.rx.internal.Configs configs, AddressSelector addressSelector, ISessionContainer sessionContainer, TransportClient transportClient, GatewayServiceConfigurationReader serviceConfigReader, com.microsoft.azure.cosmosdb.rx.internal.IAuthorizationTokenProvider authorizationTokenProvider)
public rx.Single<com.microsoft.azure.cosmosdb.internal.directconnectivity.StoreResponse> readAsync(com.microsoft.azure.cosmosdb.rx.internal.RxDocumentServiceRequest entity, com.microsoft.azure.cosmosdb.internal.directconnectivity.TimeoutHelper timeout, boolean isInRetry, boolean forceRefresh)
public int getMaxReplicaSetSize(com.microsoft.azure.cosmosdb.rx.internal.RxDocumentServiceRequest entity)
public int getMinReplicaSetSize(com.microsoft.azure.cosmosdb.rx.internal.RxDocumentServiceRequest entity)
Copyright © 2020. All rights reserved.