Package org.apache.sling.hc.util
Class HealthCheckMetadata
java.lang.Object
org.apache.sling.hc.util.HealthCheckMetadata
Deprecated.
This class helps retrieving meta data information about a health check service.
- Since:
- 1.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.Return the cron expression used for asynchronous execution.Deprecated.The mbean name of the health check as defined through theHealthCheck.MBEAN_NAMEproperty.getName()Deprecated.The name of the health check as defined through theHealthCheck.NAMEproperty.Deprecated.TTL for the result cache in ms.longDeprecated.Return the service id.Deprecated.Get the service reference.getTags()Deprecated.Return the list of defined tags for this check as set throughtagsgetTitle()Deprecated.The title of the health check.Deprecated.Make warnings stick for the given amount of time.inthashCode()Deprecated.toString()Deprecated.
-
Constructor Details
-
HealthCheckMetadata
Deprecated.
-
-
Method Details
-
getName
Deprecated.The name of the health check as defined through theHealthCheck.NAMEproperty.- Returns:
- The name or
null
-
getMBeanName
Deprecated.The mbean name of the health check as defined through theHealthCheck.MBEAN_NAMEproperty.- Returns:
- The mbean name or
null
-
getTitle
Deprecated.The title of the health check. If the health check has a name, this is used as the title. Otherwise the description, PID and service ID are checked for values. -
getTags
Deprecated.Return the list of defined tags for this check as set throughtags- Returns:
-
getAsyncCronExpression
Deprecated.Return the cron expression used for asynchronous execution. -
getServiceId
public long getServiceId()Deprecated.Return the service id. -
getServiceReference
Deprecated.Get the service reference. -
getResultCacheTtlInMs
Deprecated.TTL for the result cache in ms.- Returns:
- TTL for the result cache or
nullif not configured.
-
getWarningsStickForMinutes
Deprecated.Make warnings stick for the given amount of time.- Returns:
- Time to make warn results sticky in minutes.
-
hashCode
public int hashCode()Deprecated. -
equals
Deprecated. -
toString
Deprecated.
-