StatefulServiceFactory Interface
public interface StatefulServiceFactory
Represents a stateful service factory that is responsible for creating replicas of a specific type of stateful service. Stateful service factories are registered with the FabricRuntime by service hosts via system.fabric.FabricRuntime#registerStatefulServiceFactory(java.lang.String,system.fabric.StatefulServiceFactory) or system.fabric.FabricRuntime#registerStatefulServiceFactoryAsync(java.lang.String,system.fabric.StatefulServiceFactory,java.time.Duration)
Method Summary
Modifier and Type | Method and Description |
---|---|
Stateful |
createReplica(String serviceTypeName, URI serviceName, byte[] initializationData, UUID partitionId, long replicaId)
Called by Service Fabric to create a stateful service replica for a particular service. |
Method Details
createReplica
public StatefulServiceReplica createReplica(String serviceTypeName, URI serviceName, byte[] initializationData, UUID partitionId, long replicaId)
Called by Service Fabric to create a stateful service replica for a particular service.
Parameters:
Returns:
Throws:
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per