@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 |
doStop() |
boolean |
executeFromQueue() |
int |
getCreatedWorkers() |
int |
getPendingTasks() |
int |
getRunningWorkers() |
void |
schedule(Runnable runnable) |
void |
scheduleMain(Runnable runnable) |
void |
scheduleSync(Runnable runnable) |
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doStart, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic 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()
Apache Camel