HealthClient.getReplicaHealthAsync Method

Definition

Overloads

getReplicaHealthAsync(ReplicaHealthQueryDescription queryDescription)

Asynchronously gets the health of a Service Fabric replica.

getReplicaHealthAsync(ReplicaHealthQueryDescription queryDescription, Duration timeout)

Asynchronously gets the health of a Service Fabric replica.

getReplicaHealthAsync(UUID partitionId, long replicaId)

Asynchronously gets the health of a Service Fabric replica.

getReplicaHealthAsync(UUID partitionId, long replicaId, ApplicationHealthPolicy applicationHealthPolicy)

Asynchronously gets the health of a Service Fabric replica.

getReplicaHealthAsync(UUID partitionId, long replicaId, ApplicationHealthPolicy applicationHealthPolicy, Duration timeout)

Asynchronously gets the health of a Service Fabric replica.

getReplicaHealthAsync(UUID partitionId, long replicaId, Duration timeout)

Asynchronously gets the health of a Service Fabric replica.

getReplicaHealthAsync(ReplicaHealthQueryDescription queryDescription)

Asynchronously gets the health of a Service Fabric replica.

public CompletableFuture<ReplicaHealth> getReplicaHealthAsync(ReplicaHealthQueryDescription queryDescription)
Parameters
queryDescription
ReplicaHealthQueryDescription

The query description.

Returns
CompletableFuture<ReplicaHealth>

The health of a Service Fabric replica.

getReplicaHealthAsync(ReplicaHealthQueryDescription queryDescription, Duration timeout)

Asynchronously gets the health of a Service Fabric replica.

public CompletableFuture<ReplicaHealth> getReplicaHealthAsync(ReplicaHealthQueryDescription queryDescription, Duration timeout)
Parameters
queryDescription
ReplicaHealthQueryDescription

The query description.

timeout
Duration

The maximum amount of time Service Fabric will allow this operation to continue before returning a java.util.concurrent.TimeoutException.

Returns
CompletableFuture<ReplicaHealth>

The health of a Service Fabric replica.

getReplicaHealthAsync(UUID partitionId, long replicaId)

Asynchronously gets the health of a Service Fabric replica.

public CompletableFuture<ReplicaHealth> getReplicaHealthAsync(UUID partitionId, long replicaId)
Parameters
partitionId
UUID

The ID of the Service Fabric partition.

replicaId
long

The ID of the Service Fabric replica.

Returns
CompletableFuture<ReplicaHealth>

The health of a Service Fabric replica.

getReplicaHealthAsync(UUID partitionId, long replicaId, ApplicationHealthPolicy applicationHealthPolicy)

Asynchronously gets the health of a Service Fabric replica.

public CompletableFuture<ReplicaHealth> getReplicaHealthAsync(UUID partitionId, long replicaId, ApplicationHealthPolicy applicationHealthPolicy)
Parameters
partitionId
UUID

The ID of the Service Fabric partition.

replicaId
long

The ID of the Service Fabric replica.

applicationHealthPolicy
ApplicationHealthPolicy

The application health policy used to evaluate the entity health.

Returns
CompletableFuture<ReplicaHealth>

The health of a Service Fabric replica.

getReplicaHealthAsync(UUID partitionId, long replicaId, ApplicationHealthPolicy applicationHealthPolicy, Duration timeout)

Asynchronously gets the health of a Service Fabric replica.

public CompletableFuture<ReplicaHealth> getReplicaHealthAsync(UUID partitionId, long replicaId, ApplicationHealthPolicy applicationHealthPolicy, Duration timeout)
Parameters
partitionId
UUID

The ID of the Service Fabric partition.

replicaId
long

The ID of the Service Fabric replica.

applicationHealthPolicy
ApplicationHealthPolicy

The application health policy used to evaluate the entity health.

timeout
Duration

The maximum amount of time Service Fabric will allow this operation to continue before returning a java.util.concurrent.TimeoutException.

Returns
CompletableFuture<ReplicaHealth>

The health of a Service Fabric replica.

getReplicaHealthAsync(UUID partitionId, long replicaId, Duration timeout)

Asynchronously gets the health of a Service Fabric replica.

public CompletableFuture<ReplicaHealth> getReplicaHealthAsync(UUID partitionId, long replicaId, Duration timeout)
Parameters
partitionId
UUID

The ID of the Service Fabric partition.

replicaId
long

The ID of the Service Fabric replica.

timeout
Duration

The maximum amount of time Service Fabric will allow this operation to continue before returning a java.util.concurrent.TimeoutException.

Returns
CompletableFuture<ReplicaHealth>

The health of a Service Fabric replica.