@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.null
public java.lang.String getMBeanName()
HealthCheck.MBEAN_NAME
property.null
public java.lang.String getTitle()
public java.util.List<java.lang.String> getTags()
tags
public 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.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 The Apache Software Foundation. All rights reserved.