PropertyManagementClient.nameExistsAsync Method

Definition

Overloads

nameExistsAsync(URI name)

Returns true if the specified Service Fabric Name exists.

nameExistsAsync(URI name, Duration timeout)

Returns true if the specified Service Fabric Name exists.

nameExistsAsync(URI name)

Returns true if the specified Service Fabric Name exists.

public CompletableFuture<Boolean> nameExistsAsync(URI name)
Parameters
name
URI

The Service Fabric Name.

Returns
CompletableFuture<Boolean>

true if the specified Service Fabric Name exists; otherwise, false.

nameExistsAsync(URI name, Duration timeout)

Returns true if the specified Service Fabric Name exists.

public CompletableFuture<Boolean> nameExistsAsync(URI name, Duration timeout)
Parameters
name
URI

The Service Fabric Name.

timeout
Duration

The maximum amount of time the system will allow this operation to continue before returning java.util.concurrent.TimeoutException. Maximum timeout is MaxOperationTimeout which is configurable in the Cluster Manifest.

Returns
CompletableFuture<Boolean>

true if the specified Service Fabric Name exists; otherwise, false.