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)
Modifier and Type | Method and Description |
---|---|
Stateful |
create Called by Service Fabric to create a stateful service replica for a particular service. |
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:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: