FabricActorProxyFactory 类

定义

Factory class to create a proxy to the remote actor objects.

public class FabricActorProxyFactory implements ActorProxyFactory
继承
java.lang.Object
FabricActorProxyFactory

构造函数

FabricActorProxyFactory()

Initializes a new instance of the ActorProxyFactory class.

FabricActorProxyFactory(Function<ServiceRemotingCallbackClient, ServiceRemotingClientFactory> createServiceRemotingClientFactory, OperationRetrySettings retrySettings)

Initializes a new instance of the ActorProxyFactory class.

方法

createActorProxy(Class<T> actorInterfaceType, ActorId actorId)

Creates a proxy to the actor object that implements an actor interface.

createActorProxy(Class<T> actorInterfaceType, ActorId actorId, String applicationName, String serviceName, String listenerName)

Creates a proxy to the actor object that implements an actor interface.

createActorProxy(Class<T> actorInterfaceType, URI serviceUri, ActorId actorId)

Creates a proxy to the actor object that implements an actor interface.

createActorProxy(Class<T> actorInterfaceType, URI serviceUri, ActorId actorId, String listenerName)

Creates a proxy to the actor object that implements an actor interface.

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.

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.

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.

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.

createServiceRemotingClientFactory(ServiceRemotingCallbackClient callbackClient)

Creates service remoting client factory.

适用于