@ManagedResource(description="Managed ReactiveExecutor")
public class DefaultReactiveExecutor
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.spi.ReactiveExecutor, org.apache.camel.StaticService
ReactiveExecutor.| Constructor and Description |
|---|
DefaultReactiveExecutor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
boolean |
executeFromQueue() |
int |
getCreatedWorkers() |
int |
getPendingTasks() |
int |
getRunningWorkers() |
void |
schedule(Runnable runnable) |
void |
scheduleMain(Runnable runnable) |
void |
scheduleSync(Runnable runnable) |
build, doBuild, doInit, doResume, doShutdown, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic void schedule(Runnable runnable)
schedule in interface org.apache.camel.spi.ReactiveExecutorpublic void scheduleMain(Runnable runnable)
scheduleMain in interface org.apache.camel.spi.ReactiveExecutorpublic void scheduleSync(Runnable runnable)
scheduleSync in interface org.apache.camel.spi.ReactiveExecutorpublic boolean executeFromQueue()
executeFromQueue in interface org.apache.camel.spi.ReactiveExecutor@ManagedAttribute(description="Number of created workers") public int getCreatedWorkers()
@ManagedAttribute(description="Number of running workers") public int getRunningWorkers()
@ManagedAttribute(description="Number of pending tasks") public int getPendingTasks()
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.service.ServiceSupportExceptionApache Camel