| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final ResourceLock |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static List | Returns: candidate hosts to connect to.The potential list of hosts. hostSpecs, HostRequirement The required target server type. targetServerType, long How stale information is allowed. hostRecheckMillis)Returns a list of candidate hosts that have the required targetServerType. |
| public static void | reportHostStatus(HostSpec
The host whose status is known. hostSpec, HostStatus Latest known status for the host. hostStatus)Store the actual observed host status. |
| hostStatusMap | back to summary |
|---|---|
| private static final Map<HostSpec, GlobalHostStatusTracker. | |
| lock | back to summary |
|---|---|
| private static final ResourceLock lock | |
| GlobalHostStatusTracker | back to summary |
|---|---|
| public GlobalHostStatusTracker() | |
| getCandidateHosts | back to summary |
|---|---|
| pack-priv static List Returns a list of candidate hosts that have the required targetServerType.
| |
| reportHostStatus | back to summary |
|---|---|
| public static void reportHostStatus(HostSpec hostSpec, HostStatus hostStatus) Store the actual observed host status.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final HostSpec | |
| pack-priv long | |
| pack-priv @Nullable HostStatus |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| host | back to summary |
|---|---|
| pack-priv final HostSpec host | |
| lastUpdated | back to summary |
|---|---|
| pack-priv long lastUpdated | |
| status | back to summary |
|---|---|
| pack-priv @Nullable HostStatus status | |
| HostSpecStatus | back to summary |
|---|---|
| pack-priv HostSpecStatus(HostSpec host) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |