共用方式為


CosmosAsyncConflict Class

  • java.lang.Object
    • com.azure.cosmos.CosmosAsyncConflict

public final class CosmosAsyncConflict

Read and delete conflicts

Method Summary

Modifier and Type Method and Description
Mono<CosmosConflictResponse> delete(CosmosConflictRequestOptions options)

Deletes a conflict.

String getId()

Get the id of the CosmosAsyncConflict

Mono<CosmosConflictResponse> read(CosmosConflictRequestOptions options)

Reads a conflict.

Methods inherited from java.lang.Object

Method Details

delete

public Mono delete(CosmosConflictRequestOptions options)

Deletes a conflict.

After subscription the operation will be performed. The Mono upon successful completion will contain a single resource response for the deleted conflict. In case of failure the Mono will error.

Parameters:

options - the request options.

Returns:

a Mono containing the single resource response for the deleted conflict or an error.

getId

public String getId()

Get the id of the CosmosAsyncConflict

Returns:

the id of the CosmosAsyncConflict

read

public Mono read(CosmosConflictRequestOptions options)

Reads a conflict.

After subscription the operation will be performed. The Mono upon successful completion will contain a single resource response with the read conflict. In case of failure the Mono will error.

Parameters:

options - the request options.

Returns:

a Mono containing the single resource response with the read conflict or an error.

Applies to