ActorNameFormat.getFabricServiceName(Class<?> actorInterfaceType, String serviceName) Method

Definition

Gets name of service which hosts the actor type in Service Fabric cluster.

public static String getFabricServiceName(Class<?> actorInterfaceType, String serviceName)
Parameters
actorInterfaceType
Class<?>

Type of the actor interface.

serviceName
String

Name of service hosting the actor type. If this value is null then service name is constructed using the actorInterfaceType.

Returns
String

Service Fabric service name hosting the actor type.