你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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