Interface CosmosOperationPolicy

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CosmosOperationPolicy
Represents a policy that can be used with CosmosClientBuilder to customize the request sent to Azure Cosmos DB.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(CosmosOperationDetails operationDetails)
    Processes the request details and calls the next policy in the chain.
  • Method Details

    • process

      void process(CosmosOperationDetails operationDetails)
      Processes the request details and calls the next policy in the chain.
      Parameters:
      operationDetails - The request details.