Share via


IStatefulServicePartition Interface

Definition

Represents a partition that is associated with a stateful service replica.

public interface IStatefulServicePartition : System.Fabric.IServicePartition
type IStatefulServicePartition = interface
    interface IServicePartition
Public Interface IStatefulServicePartition
Implements IServicePartition
Implements

Remarks

Derived from IServicePartition.

Properties

PartitionInfo

Provides access to the ServicePartitionInformation of the service, which contains the partition type and ID.

(Inherited from IServicePartition)
ReadStatus

Used to check the readiness of the replica in regard to read operations.

WriteStatus

Used to check the readiness of the partition in regard to write operations.

Methods

CreateReplicator(IStateProvider, ReplicatorSettings)

Creates a FabricReplicator with the specified settings and returns it to the replica.

ReportFault(FaultType)

Enables the replica to report a fault to the runtime and indicates that it has encountered an error from which it cannot recover and must either be restarted or removed.

(Inherited from IServicePartition)
ReportLoad(IEnumerable<LoadMetric>)

Reports the load for a set of load balancing metrics. The load can be reported at any time via the ReportLoad(IEnumerable<LoadMetric>) method and provides one or more properties of the LoadMetric method.

(Inherited from IServicePartition)
ReportMoveCost(MoveCost)

Reports the move cost for a replica.

(Inherited from IServicePartition)
ReportPartitionHealth(HealthInformation, HealthReportSendOptions)

Reports current partition health.

(Inherited from IServicePartition)
ReportPartitionHealth(HealthInformation)

Reports current partition health.

(Inherited from IServicePartition)
ReportReplicaHealth(HealthInformation, HealthReportSendOptions)

Reports health on the current stateful service replica of the partition.

ReportReplicaHealth(HealthInformation)

Reports health on the current stateful service replica of the partition.

Applies to