Package org.postgresql.hostchooser
Class GlobalHostStatusTracker
java.lang.Object
org.postgresql.hostchooser.GlobalHostStatusTracker
Keeps track of HostSpec targets in a global map.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
reportHostStatus
(HostSpec hostSpec, HostStatus hostStatus) Store the actual observed host status.
-
Constructor Details
-
GlobalHostStatusTracker
public GlobalHostStatusTracker()
-
-
Method Details
-
reportHostStatus
Store the actual observed host status.- Parameters:
hostSpec
- The host whose status is known.hostStatus
- Latest known status for the host.
-