StatelessServiceFactory Interface
public interface StatelessServiceFactory
Represents a stateless service factory that is responsible for creating instances of a specific type of stateless service.
Remarks:Stateless service factories are registered with the FabricRuntime by service hosts via system.fabric.FabricRuntime#registerStatelessServiceFactory(java.lang.String,system.fabric.StatelessServiceFactory) or system.fabric.FabricRuntime#registerStatelessServiceFactoryAsync(java.lang.String,system.fabric.StatelessServiceFactory,java.time.Duration)
Method Summary
Modifier and Type | Method and Description |
---|---|
Stateless |
createInstance(String serviceTypeName, URI serviceName, byte[] initializationData, UUID partitionId, long instanceId)
Creates a stateless service instance for a particular service. This method is called by Service Fabric. |
Method Details
createInstance
public StatelessServiceInstance createInstance(String serviceTypeName, URI serviceName, byte[] initializationData, UUID partitionId, long instanceId)
Creates a stateless service instance for a particular service. This method is called by Service Fabric.
Parameters:
Returns:
Throws:
Applies to
Azure SDK for Java