FabricServiceProxyFactory Class

Definition

Specifies the factory that creates proxies for remote communication to the specified service.

public class FabricServiceProxyFactory implements ServiceProxyFactory
Inheritance
java.lang.Object
FabricServiceProxyFactory

Constructors

FabricServiceProxyFactory()

Instantiates the ServiceProxyFactory with the specified remoting factory and retrysettings.

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

Instantiates the ServiceProxyFactory with the specified remoting factory and retrysettings.

Methods

createServiceProxy(Class<T> serviceInterfaceType, URI serviceUri)

Creates a proxy to communicate to the specified service using the remoted interface<T> that the service implements.

createServiceProxy(Class<T> serviceInterfaceType, URI serviceUri, ServicePartitionKey partitionKey, TargetReplicaSelector targetReplicaSelector, String listenerName)

Creates a proxy to communicate to the specified service using the remoted interface<T> that the service implements.

Applies to