public class HealthCheckExecutorImpl extends Object implements ExtendedHealthCheckExecutor, org.osgi.framework.ServiceListener
Constructor and Description |
---|
HealthCheckExecutorImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.apache.felix.hc.core.impl.executor.HealthCheckExecutorImplConfiguration configuration,
org.osgi.framework.BundleContext bundleContext) |
protected void |
configure(org.apache.felix.hc.core.impl.executor.HealthCheckExecutorImplConfiguration configuration) |
protected void |
deactivate() |
List<org.apache.felix.hc.api.execution.HealthCheckExecutionResult> |
execute(org.apache.felix.hc.api.execution.HealthCheckSelector selector) |
List<org.apache.felix.hc.api.execution.HealthCheckExecutionResult> |
execute(org.apache.felix.hc.api.execution.HealthCheckSelector selector,
org.apache.felix.hc.api.execution.HealthCheckExecutionOptions options) |
org.apache.felix.hc.api.execution.HealthCheckExecutionResult |
execute(org.osgi.framework.ServiceReference<org.apache.felix.hc.api.HealthCheck> ref)
execute single health check using cache, used by JMX
|
List<org.apache.felix.hc.api.execution.HealthCheckExecutionResult> |
execute(org.osgi.framework.ServiceReference<org.apache.felix.hc.api.HealthCheck>[] healthCheckReferences,
org.apache.felix.hc.api.execution.HealthCheckExecutionOptions options)
internal interface to execute checks for service references
|
protected void |
modified(org.apache.felix.hc.core.impl.executor.HealthCheckExecutorImplConfiguration configuration) |
org.osgi.framework.ServiceReference<org.apache.felix.hc.api.HealthCheck>[] |
selectHealthCheckReferences(org.apache.felix.hc.api.execution.HealthCheckSelector selector,
org.apache.felix.hc.api.execution.HealthCheckExecutionOptions options)
internal interface to retrieve service references
|
void |
serviceChanged(org.osgi.framework.ServiceEvent event) |
void |
setLongRunningFutureThresholdForRedMs(long longRunningFutureThresholdForRedMs) |
void |
setTimeoutInMs(long timeoutInMs) |
protected final void activate(org.apache.felix.hc.core.impl.executor.HealthCheckExecutorImplConfiguration configuration, org.osgi.framework.BundleContext bundleContext)
protected final void modified(org.apache.felix.hc.core.impl.executor.HealthCheckExecutorImplConfiguration configuration)
protected final void deactivate()
protected final void configure(org.apache.felix.hc.core.impl.executor.HealthCheckExecutorImplConfiguration configuration)
public void serviceChanged(org.osgi.framework.ServiceEvent event)
serviceChanged
in interface org.osgi.framework.ServiceListener
public List<org.apache.felix.hc.api.execution.HealthCheckExecutionResult> execute(org.apache.felix.hc.api.execution.HealthCheckSelector selector)
execute
in interface org.apache.felix.hc.api.execution.HealthCheckExecutor
public List<org.apache.felix.hc.api.execution.HealthCheckExecutionResult> execute(org.apache.felix.hc.api.execution.HealthCheckSelector selector, org.apache.felix.hc.api.execution.HealthCheckExecutionOptions options)
execute
in interface org.apache.felix.hc.api.execution.HealthCheckExecutor
public org.osgi.framework.ServiceReference<org.apache.felix.hc.api.HealthCheck>[] selectHealthCheckReferences(org.apache.felix.hc.api.execution.HealthCheckSelector selector, org.apache.felix.hc.api.execution.HealthCheckExecutionOptions options)
ExtendedHealthCheckExecutor
public org.apache.felix.hc.api.execution.HealthCheckExecutionResult execute(org.osgi.framework.ServiceReference<org.apache.felix.hc.api.HealthCheck> ref)
ExtendedHealthCheckExecutor
execute
in interface ExtendedHealthCheckExecutor
ExtendedHealthCheckExecutor.execute(org.osgi.framework.ServiceReference)
public List<org.apache.felix.hc.api.execution.HealthCheckExecutionResult> execute(org.osgi.framework.ServiceReference<org.apache.felix.hc.api.HealthCheck>[] healthCheckReferences, org.apache.felix.hc.api.execution.HealthCheckExecutionOptions options)
ExtendedHealthCheckExecutor
execute
in interface ExtendedHealthCheckExecutor
ExtendedHealthCheckExecutor.execute(ServiceReference[], HealthCheckExecutionOptions)
public void setTimeoutInMs(long timeoutInMs)
public void setLongRunningFutureThresholdForRedMs(long longRunningFutureThresholdForRedMs)
Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.