다음을 통해 공유


IStatelessServicePartition Interface

Definition

Represents a partition that is associated with a stateless service instance.

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

Remarks

Provided to a stateless service as a parameter to the IServicePartition.

Properties

PartitionInfo

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

(Inherited from IServicePartition)

Methods

ReportCompletion()

Reports completion of the current stateless service instance of the partition. As part of the completion, service instance will be closed and no replacement for this service instance will be created in the Service Fabric cluster.

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)
ReportInstanceHealth(HealthInformation, HealthReportSendOptions)

Reports health information on the current stateless service instance of the partition.

ReportInstanceHealth(HealthInformation)

Reports health information on the current stateless service instance of the partition.

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)

Applies to