Interface ResourceStatusDelegate
- All Known Implementing Classes:
DefaultResourceStatusDelegate
public interface ResourceStatusDelegate
A delegate that provides health checks and metrics for a particular resource type.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault SortedMap<String,
IdentifiedHealthCheckResult> A set of healthchecks relevant to all resources of this typedefault SortedMap<String,
IdentifiedMetric> A set of diagnostic metrics relevant to all resources of this type.default SortedMap<String,
IdentifiedHealthCheckResult> getInstanceHealthChecks
(ResourcePath resource) A set of healthchecks relevant to the specific resourcedefault SortedMap<String,
IdentifiedMetric> getInstanceMetrics
(ResourcePath resource) A set of diagnostic metrics relevant to the specific resource
-
Field Details
-
NONE
-
-
Method Details
-
getCategoryHealthCheckAliases
-
getInstanceHealthCheckAliases
-
getCategoryMetricAliases
-
getInstanceMetricAliases
-
getCategoryHealthChecks
A set of healthchecks relevant to all resources of this type -
getInstanceHealthChecks
default SortedMap<String,IdentifiedHealthCheckResult> getInstanceHealthChecks(ResourcePath resource) A set of healthchecks relevant to the specific resource -
getCategoryMetrics
A set of diagnostic metrics relevant to all resources of this type.- Returns:
- A set of metrics relevant to all resources of this type
-
getInstanceMetrics
A set of diagnostic metrics relevant to the specific resource- Parameters:
resource
- The resource to get metrics for- Returns:
- A set of metrics relevant to the specific resource
-