org.postgresql.hostchooser
Class GlobalHostStatusTracker
java.lang.Object
org.postgresql.hostchooser.GlobalHostStatusTracker
public class GlobalHostStatusTracker
- extends Object
Keeps track of HostSpec targets in a global map.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalHostStatusTracker
public GlobalHostStatusTracker()
reportHostStatus
public static void reportHostStatus(HostSpec hostSpec,
HostStatus hostStatus)
- Store the actual observed host status.
- Parameters:
hostSpec - The host whose status is known.hostStatus - Latest known status for the host.
Copyright © 2016 PostgreSQL Global Development Group. All rights reserved.