public class HealthCheckMetadata extends Object
Constructor and Description |
---|
HealthCheckMetadata(org.osgi.framework.ServiceReference ref) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAsyncCronExpression()
Return the cron expression used for asynchronous execution.
|
String |
getMBeanName()
The mbean name of the health check as defined through the
HealthCheck.MBEAN_NAME
property. |
String |
getName()
The name of the health check as defined through the
HealthCheck.NAME
property. |
Long |
getResultCacheTtlInMs()
TTL for the result cache in ms.
|
long |
getServiceId()
Return the service id.
|
org.osgi.framework.ServiceReference |
getServiceReference()
Get the service reference.
|
List<String> |
getTags()
Return the list of defined tags for this check as set
through
tags |
String |
getTitle()
The title of the health check.
|
int |
hashCode() |
String |
toString() |
public HealthCheckMetadata(org.osgi.framework.ServiceReference ref)
public String getName()
HealthCheck.NAME
property.null
public String getMBeanName()
HealthCheck.MBEAN_NAME
property.null
public String getTitle()
public List<String> getTags()
tags
public String getAsyncCronExpression()
public long getServiceId()
public org.osgi.framework.ServiceReference getServiceReference()
public Long getResultCacheTtlInMs()
null
if not configured.Copyright © 2017 The Apache Software Foundation. All rights reserved.