public static class WorkerMetricStats.WorkerSupportInfo extends Object
WorkerMetricStats entry to decouple support-code evaluation from the
full worker metrics model (which carries metric stats, operating ranges, etc.
that are irrelevant to feature-gate decisions).
Used by FleetSupportCodeEvaluator to determine fleet-wide minimum
support without needing access to the full WorkerMetricStats objects.
| Constructor and Description |
|---|
WorkerSupportInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSupportCodeExpired(Duration maxAge)
Returns true if the support code heartbeat is expired (stale) based on the given threshold.
|
public boolean isSupportCodeExpired(Duration maxAge)
Copyright © 2026. All rights reserved.