ServicePartitionResolver 接口

定义

Implements the class that helps in determining the endpoint of a service.

public interface ServicePartitionResolver

方法

resolveAsync(ResolvedServicePartition previousRsp, Duration resolveTimeoutPerTry, Duration maxRetryBackoffInterval)

Resolves a partition of the specified service.

resolveAsync(URI serviceName, ServicePartitionKey partitionKey, Duration resolveTimeoutPerTry, Duration maxRetryBackoffInterval)

Resolves a partition of the specified service.

适用于