@InterfaceAudience.Private class ServerAndLoad extends Object implements Comparable<ServerAndLoad>, Serializable
| Modifier and Type | Field and Description | 
|---|---|
| private int | load | 
| private static long | serialVersionUID | 
| private ServerName | sn | 
| Constructor and Description | 
|---|
| ServerAndLoad(ServerName sn,
             int load) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(ServerAndLoad other) | 
| boolean | equals(Object o) | 
| (package private) int | getLoad() | 
| (package private) ServerName | getServerName() | 
| int | hashCode() | 
| String | toString() | 
private static final long serialVersionUID
private final ServerName sn
private final int load
ServerAndLoad(ServerName sn, int load)
ServerName getServerName()
int getLoad()
public int compareTo(ServerAndLoad other)
compareTo in interface Comparable<ServerAndLoad>Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.