ActorServiceAttribute Interface
public interface ActorServiceAttribute
This attributes allows configuring the properties of the actor service. The attribute is applied on the actor type.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
The relative name of the actor service. This name will be combined with the application name to provide the full name of the actor service.
Remarks:By default, the actor service name is derived from the type of the actor interface microsoft.servicefabric.actors.ActorNameFormat#getFabricServiceName(Class, String) . However, in case when an actor interface is implemented by more than one actor, including by a derived type, the name cannot be determined from the actor interface in an unambiguous manner. In that case, the name of the actor service must be configured using this property of the ActorServiceAttribute. |
Method Details
name
public String name()
The relative name of the actor service. This name will be combined with the application name to provide the full name of the actor service.
Remarks:By default, the actor service name is derived from the type of the actor interface microsoft.servicefabric.actors.ActorNameFormat#getFabricServiceName(Class, String) . However, in case when an actor interface is implemented by more than one actor, including by a derived type, the name cannot be determined from the actor interface in an unambiguous manner. In that case, the name of the actor service must be configured using this property of the ActorServiceAttribute.
Returns:
Applies to
Azure SDK for Java
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente las Cuestiones de GitHub como mecanismo de retroalimentación para el contenido y lo sustituiremos por un nuevo sistema de retroalimentación. Para más información, consulta:Enviar y ver comentarios de