FabricServiceProxyFactory 构造函数
定义
重载
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.
|
FabricServiceProxyFactory()
Instantiates the ServiceProxyFactory with the specified remoting factory and retrysettings.
public FabricServiceProxyFactory()
FabricServiceProxyFactory(Function<ServiceRemotingCallbackClient, ServiceRemotingClientFactory> createServiceRemotingClientFactory, OperationRetrySettings retrySettings)
Instantiates the ServiceProxyFactory with the specified remoting factory and retrysettings.
public FabricServiceProxyFactory(Function<ServiceRemotingCallbackClient, ServiceRemotingClientFactory> createServiceRemotingClientFactory, OperationRetrySettings retrySettings)
参数
- createServiceRemotingClientFactory
- Function<ServiceRemotingCallbackClient, ServiceRemotingClientFactory>
Specifies the factory method that creates the remoting client factory. The remoting client factory got from this method is cached in the ServiceProxyFactory.
- retrySettings
- OperationRetrySettings
Specifies the retry policy to use on exceptions seen when using the proxies created by this factory