Class StoreClient

  • All Implemented Interfaces:
    IStoreClient

    public class StoreClient
    extends Object
    implements IStoreClient
    Instantiated to issue direct connectivity requests to the backend on: - Gateway (for gateway mode clients) - Client (for direct mode clients) StoreClient uses the ReplicatedResourceClient to make requests to the backend.
    • Constructor Detail

      • StoreClient

        public StoreClient​(com.microsoft.azure.cosmosdb.rx.internal.Configs configs,
                           IAddressResolver addressResolver,
                           com.microsoft.azure.cosmosdb.internal.SessionContainer sessionContainer,
                           GatewayServiceConfigurationReader serviceConfigurationReader,
                           com.microsoft.azure.cosmosdb.rx.internal.IAuthorizationTokenProvider userTokenProvider,
                           TransportClient transportClient,
                           boolean useMultipleWriteLocations)
    • Method Detail

      • processMessageAsync

        public rx.Single<com.microsoft.azure.cosmosdb.rx.internal.RxDocumentServiceResponse> processMessageAsync​(com.microsoft.azure.cosmosdb.rx.internal.RxDocumentServiceRequest request,
                                                                                                                 com.microsoft.azure.cosmosdb.rx.internal.IRetryPolicy retryPolicy,
                                                                                                                 rx.functions.Func1<com.microsoft.azure.cosmosdb.rx.internal.RxDocumentServiceRequest,​rx.Single<com.microsoft.azure.cosmosdb.rx.internal.RxDocumentServiceRequest>> prepareRequestAsyncDelegate)
        Specified by:
        processMessageAsync in interface IStoreClient