public class HealthCheckFilter extends Object
HealthCheck
services. Once this filter object and the returned health check services are no longer be used
#dispose()
should be called, to free the service references.
This class is not thread safe and instances shouldn't be used concurrently from different threads.Modifier and Type | Field and Description |
---|---|
static String |
HC_FILTER_OBJECT_CLASS |
static String |
OMIT_PREFIX |
Constructor and Description |
---|
HealthCheckFilter(org.osgi.framework.BundleContext bc)
Create a new filter object
|
Modifier and Type | Method and Description |
---|---|
org.osgi.framework.ServiceReference<org.apache.felix.hc.api.HealthCheck>[] |
getHealthCheckServiceReferences(org.apache.felix.hc.api.execution.HealthCheckSelector selector) |
org.osgi.framework.ServiceReference<org.apache.felix.hc.api.HealthCheck>[] |
getHealthCheckServiceReferences(org.apache.felix.hc.api.execution.HealthCheckSelector selector,
boolean combineTagsWithOr) |
public static final String HC_FILTER_OBJECT_CLASS
public static final String OMIT_PREFIX
public HealthCheckFilter(org.osgi.framework.BundleContext bc)
public org.osgi.framework.ServiceReference<org.apache.felix.hc.api.HealthCheck>[] getHealthCheckServiceReferences(org.apache.felix.hc.api.execution.HealthCheckSelector selector)
public org.osgi.framework.ServiceReference<org.apache.felix.hc.api.HealthCheck>[] getHealthCheckServiceReferences(org.apache.felix.hc.api.execution.HealthCheckSelector selector, boolean combineTagsWithOr)
Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.