public interface  io.vertx.core.Context extends java.lang.Object
{
public static boolean isOnWorkerThread()
{
java.lang.Thread v;
boolean v, v, v;
v = staticinvoke <java.lang.Thread: java.lang.Thread currentThread()>();
v = v instanceof io.vertx.core.impl.VertxThread;
if v == 0 goto label;
v = virtualinvoke v.<io.vertx.core.impl.VertxThread: boolean isWorker()>();
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static boolean isOnEventLoopThread()
{
java.lang.Thread v;
boolean v, v, v;
v = staticinvoke <java.lang.Thread: java.lang.Thread currentThread()>();
v = v instanceof io.vertx.core.impl.VertxThread;
if v == 0 goto label;
v = virtualinvoke v.<io.vertx.core.impl.VertxThread: boolean isWorker()>();
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static boolean isOnVertxThread()
{
boolean v;
java.lang.Thread v;
v = staticinvoke <java.lang.Thread: java.lang.Thread currentThread()>();
v = v instanceof io.vertx.core.impl.VertxThread;
return v;
}
public abstract void runOnContext(io.vertx.core.Handler);
public abstract void executeBlocking(io.vertx.core.Handler, boolean, io.vertx.core.Handler);
public abstract io.vertx.core.Future executeBlocking(java.util.concurrent.Callable, boolean);
public void executeBlocking(io.vertx.core.Handler, io.vertx.core.Handler)
{
io.vertx.core.Handler v, v;
io.vertx.core.Context v;
v := @this: io.vertx.core.Context;
v := @parameter: io.vertx.core.Handler;
v := @parameter: io.vertx.core.Handler;
interfaceinvoke v.<io.vertx.core.Context: void executeBlocking(io.vertx.core.Handler,boolean,io.vertx.core.Handler)>(v, 1, v);
return;
}
public abstract io.vertx.core.Future executeBlocking(io.vertx.core.Handler, boolean);
public io.vertx.core.Future executeBlocking(io.vertx.core.Handler)
{
io.vertx.core.Handler v;
io.vertx.core.Context v;
io.vertx.core.Future v;
v := @this: io.vertx.core.Context;
v := @parameter: io.vertx.core.Handler;
v = interfaceinvoke v.<io.vertx.core.Context: io.vertx.core.Future executeBlocking(io.vertx.core.Handler,boolean)>(v, 1);
return v;
}
public io.vertx.core.Future executeBlocking(java.util.concurrent.Callable)
{
java.util.concurrent.Callable v;
io.vertx.core.Context v;
io.vertx.core.Future v;
v := @this: io.vertx.core.Context;
v := @parameter: java.util.concurrent.Callable;
v = interfaceinvoke v.<io.vertx.core.Context: io.vertx.core.Future executeBlocking(java.util.concurrent.Callable,boolean)>(v, 1);
return v;
}
public abstract java.lang.String deploymentID();
public abstract io.vertx.core.json.JsonObject config();
public java.util.List processArgs()
{
java.util.List v;
io.vertx.core.Context v;
v := @this: io.vertx.core.Context;
v = staticinvoke <io.vertx.core.impl.launcher.VertxCommandLauncher: java.util.List getProcessArguments()>();
return v;
}
public abstract boolean isEventLoopContext();
public abstract boolean isWorkerContext();
public abstract java.lang.Object get(java.lang.Object);
public abstract void put(java.lang.Object, java.lang.Object);
public abstract boolean remove(java.lang.Object);
public abstract java.lang.Object getLocal(java.lang.Object);
public abstract void putLocal(java.lang.Object, java.lang.Object);
public abstract boolean removeLocal(java.lang.Object);
public abstract io.vertx.core.Vertx owner();
public abstract int getInstanceCount();
public abstract io.vertx.core.Context exceptionHandler(io.vertx.core.Handler);
public abstract io.vertx.core.Handler exceptionHandler();
}