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)
QueryLocation
getLocation
in interface QueryLocation
forceUpdate
- whether to refresh location cache.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.