Condividi tramite


StatefulServiceDescription Class

Definition

Represents the extend ServiceDescription to provide additional information necessary to create stateful services.

public sealed class StatefulServiceDescription : System.Fabric.Description.ServiceDescription
type StatefulServiceDescription = class
    inherit ServiceDescription
Public NotInheritable Class StatefulServiceDescription
Inherits ServiceDescription
Inheritance
StatefulServiceDescription

Remarks

Constructors

StatefulServiceDescription()

Initializes a new instance of the StatefulServiceDescription class.

Properties

ApplicationName

Gets or sets the URI of the application.

(Inherited from ServiceDescription)
AuxiliaryReplicaCount

Gets or sets the auxiliary replica count for this service.

Correlations

Gets the list of ServiceCorrelationDescriptions that describe the correlations of this service with other services.

(Inherited from ServiceDescription)
DefaultMoveCost

Gets or sets the default MoveCost value for the service.

(Inherited from ServiceDescription)
DropSourceReplicaOnMove

Enables or disables the behavior where source Secondary replica is being dropped when a new replica starts building.

HasPersistedState

Gets or sets a value indicating whether this instance has persisted state.

InitializationData

Gets or sets the initialization data that will be passed to service instances or replicas when they are created.

(Inherited from ServiceDescription)
IsDefaultMoveCostSpecified

Gets whether a default MoveCost is specified for the service.

(Inherited from ServiceDescription)
Kind

Gets the service kind (for example, Stateful or Stateless) of this service.

(Inherited from ServiceDescription)
Metrics

Gets or sets the keyed collection of ServiceLoadMetricDescriptions that describe the load metrics defined for this service.

(Inherited from ServiceDescription)
MinReplicaSetSize

Gets or sets the minimum allowed replica set size for this service.

PartitionSchemeDescription

Gets or sets the partition scheme description to be used for this service.

(Inherited from ServiceDescription)
PlacementConstraints

Gets or sets the placement constraints for this service.

(Inherited from ServiceDescription)
PlacementPolicies

Gets the list of ServicePlacementPolicyDescriptions that describe the placement policies for this service.

(Inherited from ServiceDescription)
QuorumLossWaitDuration

Gets or sets the maximum duration, for which a partition is allowed to be in a state of quorum loss.

ReplicaLifecycleDescription

Defines how replica will behave during its lifecycle.

ReplicaRestartWaitDuration

Gets or sets the duration, in seconds, between when a replica goes down and when a new replica is created.

ScalingPolicies

Gets or sets the list of ScalingPolicyDescription for this service.

(Inherited from ServiceDescription)
ServiceDnsName

Gets or sets the service DNS name. If this is specified, then the service can be accessed via its DNS name instead of ServiceName.

(Inherited from ServiceDescription)
ServiceName

Gets or sets the URI of this service.

(Inherited from ServiceDescription)
ServicePackageActivationMode

Gets or sets the ServicePackageActivationMode of a service.

(Inherited from ServiceDescription)
ServicePlacementTimeLimit

Gets or sets the duration for which replicas can stay InBuild before reporting that build is stuck.

ServiceTags

Gets or sets the list of tags that will influence service placement and running.

(Inherited from ServiceDescription)
ServiceTypeName

Gets or sets the service type name.

(Inherited from ServiceDescription)
StandByReplicaKeepDuration

Gets or sets the definition on how long StandBy replicas should be maintained before being removed.

TargetReplicaSetSize

Gets or sets the target size of the replica set.

Applies to