Condividi tramite


PartitionHealth Class

Definition

Describes health of a partition as returned by GetPartitionHealthAsync(PartitionHealthQueryDescription).

public sealed class PartitionHealth : System.Fabric.Health.EntityHealth
type PartitionHealth = class
    inherit EntityHealth
Public NotInheritable Class PartitionHealth
Inherits EntityHealth
Inheritance
PartitionHealth

Properties

AggregatedHealthState

Gets the entity aggregated health state.

(Inherited from EntityHealth)
HealthEvents

Gets the health events reported on the entity.

(Inherited from EntityHealth)
HealthStatistics

Gets the partition health statistics, which contain information about how many replicas are in Ok, Warning, and Error state.

PartitionId

Gets the partition ID, which uniquely identifies the partition.

ReplicaHealthStates

Gets the replica health states for the current partition as found in the health store.

UnhealthyEvaluations

Gets the unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.

(Inherited from EntityHealth)

Methods

AddUnhealthyEvaluationsString(StringBuilder)

Given a StringBuilder, appends a string that describes unhealthy evaluations, if any.

(Inherited from EntityHealth)
ToString()

Gets a string representation of the PartitionHealth.

Applies to