public class PoolAddressProvider extends Object implements AddressProvider
Constructor and Description |
---|
PoolAddressProvider(AddressPool pool) |
Modifier and Type | Method and Description |
---|---|
InterAddress |
get(String serviceID,
String methodName,
Object[] args)
根据服务ID获取地址
|
boolean |
isDistributed()
是否为分布式调用
|
String |
toString() |
public PoolAddressProvider(AddressPool pool)
public InterAddress get(String serviceID, String methodName, Object[] args)
AddressProvider
get
in interface AddressProvider
public boolean isDistributed()
AddressProvider
isDistributed
in interface AddressProvider
Copyright © 2020. All rights reserved.