FabricServiceRemotingPartitionClient 构造函数

定义

重载

FabricServiceRemotingPartitionClient(ServiceRemotingClientFactory remotingClientFactory, URI serviceUri)

Instantiates the Service partition client for remoting communication.

FabricServiceRemotingPartitionClient(ServiceRemotingClientFactory remotingClientFactory, URI serviceUri, ServicePartitionKey partitionKey, TargetReplicaSelector targetReplicaSelector, String listenerName, OperationRetrySettings retrySettings)

Instantiates the Service partition client for remoting communication.

FabricServiceRemotingPartitionClient(ServiceRemotingClientFactory remotingClientFactory, URI serviceUri)

Instantiates the Service partition client for remoting communication.

public FabricServiceRemotingPartitionClient(ServiceRemotingClientFactory remotingClientFactory, URI serviceUri)

参数

remotingClientFactory
ServiceRemotingClientFactory

Remoting client factory

serviceUri
URI

Actor service name

FabricServiceRemotingPartitionClient(ServiceRemotingClientFactory remotingClientFactory, URI serviceUri, ServicePartitionKey partitionKey, TargetReplicaSelector targetReplicaSelector, String listenerName, OperationRetrySettings retrySettings)

Instantiates the Service partition client for remoting communication.

public FabricServiceRemotingPartitionClient(ServiceRemotingClientFactory remotingClientFactory, URI serviceUri, ServicePartitionKey partitionKey, TargetReplicaSelector targetReplicaSelector, String listenerName, OperationRetrySettings retrySettings)

参数

remotingClientFactory
ServiceRemotingClientFactory

Remoting client factory

serviceUri
URI

Actor service name

partitionKey
ServicePartitionKey

The partition key used to identify the partition within the service.

targetReplicaSelector
TargetReplicaSelector

Target replica information

listenerName
String

By default an actor service has only one listener for clients to connect to and communicate with. However it is possible to configure an actor service with more than one listeners, the listenerName parameter specifies the name of the listener to connect to.

retrySettings
OperationRetrySettings

Retry settings for the remote calls made by the partition client.

适用于