FabricActorProxyFactory Class
- java.
lang. Object - ActorProxyFactory
- microsoft.
servicefabric. actors. remoting. client. FabricActorProxyFactory
- microsoft.
public class FabricActorProxyFactory implements ActorProxyFactory
Factory class to create a proxy to the remote actor objects.
Constructor Summary
Constructor | Description |
---|---|
FabricActorProxyFactory() |
Initializes a new instance of the ActorProxyFactory class. |
FabricActorProxyFactory(Function<ServiceRemotingCallbackClient, ServiceRemotingClientFactory> createServiceRemotingClientFactory, OperationRetrySettings retrySettings) |
Initializes a new instance of the ActorProxyFactory class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
<T extends Actor> T |
createActorProxy(Class<T> actorInterfaceType, ActorId actorId)
Creates a proxy to the actor object that implements an actor interface. |
<T extends Actor> T |
createActorProxy(Class<T> actorInterfaceType, ActorId actorId, String applicationName, String serviceName, String listenerName)
Creates a proxy to the actor object that implements an actor interface. |
<T extends Actor> T |
createActorProxy(Class<T> actorInterfaceType, URI serviceUri, ActorId actorId)
Creates a proxy to the actor object that implements an actor interface. |
<T extends Actor> T |
createActorProxy(Class<T> actorInterfaceType, URI serviceUri, ActorId actorId, String listenerName)
Creates a proxy to the actor object that implements an actor interface. |
<T extends Service> T |
createActorServiceProxy(Class<T> serviceInterfaceType, URI serviceUri, ActorId actorId)
Create a proxy to the actor service that is hosting the specified actor id and implementing specified type of the service interface. |
<T extends Service> T |
createActorServiceProxy(Class<T> serviceInterfaceType, URI serviceUri, ActorId actorId, String listenerName)
Create a proxy to the actor service that is hosting the specified actor id and implementing specified type of the service interface. |
<T extends Service> T |
createActorServiceProxy(Class<T> serviceInterfaceType, URI serviceUri, long partitionKey)
Create a proxy to the actor service that is hosting the specified actor id and implementing specified type of the service interface. |
<T extends Service> T |
createActorServiceProxy(Class<T> serviceInterfaceType, URI serviceUri, long partitionKey, String listenerName)
Create a proxy to the actor service that is hosting the specified actor id and implementing specified type of the service interface. |
Service |
createServiceRemotingClientFactory(ServiceRemotingCallbackClient callbackClient)
Creates service remoting client factory. |
Constructor Details
FabricActorProxyFactory
public FabricActorProxyFactory()
Initializes a new instance of the ActorProxyFactory class.
FabricActorProxyFactory
public FabricActorProxyFactory(Function
Initializes a new instance of the ActorProxyFactory class.
Parameters:
Method Details
createActorProxy
public
Creates a proxy to the actor object that implements an actor interface.
Overrides:
FabricActorProxyFactory.createActorProxy(Class<T> actorInterfaceType, ActorId actorId)Parameters:
Returns:
createActorProxy
public
Creates a proxy to the actor object that implements an actor interface.
Overrides:
FabricActorProxyFactory.createActorProxy(Class<T> actorInterfaceType, ActorId actorId, String applicationName, String serviceName, String listenerName)Parameters:
Returns:
Throws:
createActorProxy
public
Creates a proxy to the actor object that implements an actor interface.
Overrides:
FabricActorProxyFactory.createActorProxy(Class<T> actorInterfaceType, URI serviceUri, ActorId actorId)Parameters:
Returns:
createActorProxy
public
Creates a proxy to the actor object that implements an actor interface.
Overrides:
FabricActorProxyFactory.createActorProxy(Class<T> actorInterfaceType, URI serviceUri, ActorId actorId, String listenerName)Parameters:
Returns:
createActorServiceProxy
public
Create a proxy to the actor service that is hosting the specified actor id and implementing specified type of the service interface.
Overrides:
FabricActorProxyFactory.createActorServiceProxy(Class<T> serviceInterfaceType, URI serviceUri, ActorId actorId)Parameters:
Returns:
createActorServiceProxy
public
Create a proxy to the actor service that is hosting the specified actor id and implementing specified type of the service interface.
Overrides:
FabricActorProxyFactory.createActorServiceProxy(Class<T> serviceInterfaceType, URI serviceUri, ActorId actorId, String listenerName)Parameters:
Returns:
createActorServiceProxy
public
Create a proxy to the actor service that is hosting the specified actor id and implementing specified type of the service interface.
Overrides:
FabricActorProxyFactory.createActorServiceProxy(Class<T> serviceInterfaceType, URI serviceUri, long partitionKey)Parameters:
Returns:
createActorServiceProxy
public
Create a proxy to the actor service that is hosting the specified actor id and implementing specified type of the service interface.
Overrides:
FabricActorProxyFactory.createActorServiceProxy(Class<T> serviceInterfaceType, URI serviceUri, long partitionKey, String listenerName)Parameters:
Returns:
createServiceRemotingClientFactory
protected ServiceRemotingClientFactory createServiceRemotingClientFactory(ServiceRemotingCallbackClient callbackClient)
Creates service remoting client factory.
Parameters:
Returns:
Applies to
Azure SDK for Java