Partager via


StatefulServiceInitializationParameters Class

public class StatefulServiceInitializationParameters extends ServiceInitializationParameters

Defines service initialization parameters for a stateful service.

Constructor Summary

Constructor Description
StatefulServiceInitializationParameters(FabricCodePackageActivationContext codePackageActivationContext)

Initializes a new instance of the system.fabric.StatefulServiceInitializationParameters with given FabricCodePackageActivationContext

Method Summary

Modifier and Type Method and Description
long getReplicaId()

Gets the unique identifier for the stateful service replica.

Inherited Members

Constructor Details

StatefulServiceInitializationParameters

public StatefulServiceInitializationParameters(FabricCodePackageActivationContext codePackageActivationContext)

Initializes a new instance of the system.fabric.StatefulServiceInitializationParameters with given FabricCodePackageActivationContext

Parameters:

codePackageActivationContext - Activation context for the Service Fabric service.

Method Details

getReplicaId

public long getReplicaId()

Gets the unique identifier for the stateful service replica.

Returns:

id of the Stateful service replica.

Applies to