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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for