@ProviderType
public class HealthCheckMetadata
extends java.lang.Object
| Constructor and Description |
|---|
HealthCheckMetadata(org.osgi.framework.ServiceReference ref) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAsyncCronExpression()
Return the cron expression used for asynchronous execution.
|
java.lang.String |
getMBeanName()
The mbean name of the health check as defined through the
HealthCheck.MBEAN_NAME
property. |
java.lang.String |
getName()
The name of the health check as defined through the
HealthCheck.NAME
property. |
java.lang.Long |
getResultCacheTtlInMs()
TTL for the result cache in ms.
|
long |
getServiceId()
Return the service id.
|
org.osgi.framework.ServiceReference |
getServiceReference()
Get the service reference.
|
java.util.List<java.lang.String> |
getTags()
Return the list of defined tags for this check as set
through
tags |
java.lang.String |
getTitle()
The title of the health check.
|
java.lang.Long |
getWarningsStickForMinutes()
Make warnings stick for the given amount of time.
|
int |
hashCode() |
java.lang.String |
toString() |
public HealthCheckMetadata(org.osgi.framework.ServiceReference ref)
public java.lang.String getName()
HealthCheck.NAME
property.nullpublic java.lang.String getMBeanName()
HealthCheck.MBEAN_NAME
property.nullpublic java.lang.String getTitle()
public java.util.List<java.lang.String> getTags()
tagspublic java.lang.String getAsyncCronExpression()
public long getServiceId()
public org.osgi.framework.ServiceReference getServiceReference()
public java.lang.Long getResultCacheTtlInMs()
null if not configured.public java.lang.Long getWarningsStickForMinutes()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved