public class MultiThreadedWorkerContext extends WorkerContext
config, contextThread, deploymentID, orderedInternalPoolExec, owner, workerExec| Constructor and Description |
|---|
MultiThreadedWorkerContext(VertxInternal vertx,
Executor orderedInternalExec,
Executor workerExec,
String deploymentID,
JsonObject config,
ClassLoader tccl) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeAsync(Handler<Void> task) |
boolean |
isMultiThreadedWorkerContext()
Is the current context a multi-threaded worker context?
|
checkCorrectThread, executeFromIO, isEventLoopContextaddCloseHook, config, contextData, deploymentID, eventLoop, executeBlocking, executeBlocking, get, getDeployment, getInstanceCount, isOnEventLoopThread, isOnVertxThread, isOnWorkerThread, isWorkerContext, owner, processArgs, put, remove, removeCloseHook, runCloseHooks, runOnContext, setContext, setDeployment, wrapTaskpublic MultiThreadedWorkerContext(VertxInternal vertx, Executor orderedInternalExec, Executor workerExec, String deploymentID, JsonObject config, ClassLoader tccl)
public void executeAsync(Handler<Void> task)
executeAsync in class WorkerContextpublic boolean isMultiThreadedWorkerContext()
ContextisMultiThreadedWorkerContext in interface ContextisMultiThreadedWorkerContext in class WorkerContextCopyright © 2015. All Rights Reserved.