public class QueryLocationImpl extends Object implements QueryLocation
QueryLocation to get location from ServiceManager.| Constructor and Description |
|---|
QueryLocationImpl(ServiceManager manager) |
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
getLocation(BinaryRow partition,
int bucket,
boolean forceUpdate)
Get location from partition and bucket.
|
public QueryLocationImpl(ServiceManager manager)
public InetSocketAddress getLocation(BinaryRow partition, int bucket, boolean forceUpdate)
QueryLocationgetLocation in interface QueryLocationforceUpdate - whether to refresh location cache.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.