public class HealthCheckExecutorThreadPool extends Object
Constructor and Description |
---|
HealthCheckExecutorThreadPool() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.apache.felix.hc.core.impl.executor.HealthCheckExecutorThreadPoolConfiguration configuration,
org.osgi.framework.BundleContext bundleContext) |
protected void |
deactivate() |
void |
execute(Runnable job) |
ScheduledExecutorService |
getExecutor() |
int |
getMaxCurrentlyAvailableThreads() |
int |
getPoolSize() |
ScheduledFuture<?> |
scheduleAtFixedRate(Runnable job,
long intervalInSec) |
protected final void activate(org.apache.felix.hc.core.impl.executor.HealthCheckExecutorThreadPoolConfiguration configuration, org.osgi.framework.BundleContext bundleContext)
protected final void deactivate()
public void execute(Runnable job)
public ScheduledFuture<?> scheduleAtFixedRate(Runnable job, long intervalInSec)
public int getPoolSize()
public int getMaxCurrentlyAvailableThreads()
public ScheduledExecutorService getExecutor()
Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.