ServicePartitionClient<TCommunicationClient> 接口

定义

Specifies an instance of the communication client that can communicate with the replicas of a particular partition.

public interface ServicePartitionClient<TCommunicationClient extends CommunicationClient>

类型参数

TCommunicationClient

方法

getCommunicationClientFactory()

Gets the communication client factory

getLastResolvedServicePartition()

Gets the resolved service partition that was set on the client.

getListenerName()

Gets the name of the listener in the replica to which the client should connect to.

getPartitionKey()

Gets the key of the partition the client is communicating with.

getServiceUri()

Gets the name of the service

getTargetReplicaSelector()

Gets the information about which replica in the partition the client should connect to.

适用于