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, isEventLoopContext
addCloseHook, config, contextData, deploymentID, eventLoop, executeBlocking, executeBlocking, get, getDeployment, getInstanceCount, isOnEventLoopThread, isOnVertxThread, isOnWorkerThread, isWorkerContext, owner, processArgs, put, remove, removeCloseHook, runCloseHooks, runOnContext, setContext, setDeployment, wrapTask
public MultiThreadedWorkerContext(VertxInternal vertx, Executor orderedInternalExec, Executor workerExec, String deploymentID, JsonObject config, ClassLoader tccl)
public void executeAsync(Handler<Void> task)
executeAsync
in class WorkerContext
public boolean isMultiThreadedWorkerContext()
Context
isMultiThreadedWorkerContext
in interface Context
isMultiThreadedWorkerContext
in class WorkerContext
Copyright © 2015. All Rights Reserved.