private static class BaseLoadBalancer.DefaultRackManager extends RackManager
UNKNOWN_RACK
Modifier | Constructor and Description |
---|---|
private |
DefaultRackManager() |
Modifier and Type | Method and Description |
---|---|
String |
getRack(ServerName server)
Get the name of the rack containing a server, according to the DNS to
switch mapping.
|
getRack
private DefaultRackManager()
public String getRack(ServerName server)
RackManager
getRack
in class RackManager
server
- the server for which to get the rack nameCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.