static class BalancerClusterState.DefaultRackManager extends RackManager
UNKNOWN_RACK
Constructor and Description |
---|
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
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.