public class io.smallrye.context.SmallRyeManagedExecutor extends java.lang.Object implements org.eclipse.microprofile.context.ManagedExecutor
{
private static final java.lang.String UNI_APPLY;
private final io.smallrye.context.SmallRyeThreadContext threadContext;
private final int maxAsync;
private final int maxQueued;
private final java.lang.String injectionPointName;
private final java.util.concurrent.ExecutorService executor;
private final java.util.concurrent.Executor noPropagationExecutor;
public static java.util.concurrent.ExecutorService newThreadPoolExecutor(int, int)
{
java.util.concurrent.ThreadPoolExecutor v;
java.lang.Runtime v, v;
java.util.concurrent.LinkedBlockingQueue v;
java.util.concurrent.TimeUnit v;
java.util.concurrent.ThreadPoolExecutor$AbortPolicy v;
int v, v, v, v, v, v, v, v;
v := @parameter: int;
v := @parameter: int;
v = new java.util.concurrent.ThreadPoolExecutor;
v = (int) -1;
if v != v goto label;
v = staticinvoke <java.lang.Runtime: java.lang.Runtime getRuntime()>();
v = virtualinvoke v.<java.lang.Runtime: int availableProcessors()>();
goto label;
label:
v = v;
label:
v = (int) -1;
if v != v goto label;
v = staticinvoke <java.lang.Runtime: java.lang.Runtime getRuntime()>();
v = virtualinvoke v.<java.lang.Runtime: int availableProcessors()>();
goto label;
label:
v = v;
label:
v = <java.util.concurrent.TimeUnit: java.util.concurrent.TimeUnit MILLISECONDS>;
v = new java.util.concurrent.LinkedBlockingQueue;
v = (int) -1;
if v != v goto label;
v = 2147483647;
goto label;
label:
v = v;
label:
specialinvoke v.<java.util.concurrent.LinkedBlockingQueue: void <init>(int)>(v);
v = new java.util.concurrent.ThreadPoolExecutor$AbortPolicy;
specialinvoke v.<java.util.concurrent.ThreadPoolExecutor$AbortPolicy: void <init>()>();
specialinvoke v.<java.util.concurrent.ThreadPoolExecutor: void <init>(int,int,long,java.util.concurrent.TimeUnit,java.util.concurrent.BlockingQueue,java.util.concurrent.RejectedExecutionHandler)>(v, v, 5000L, v, v, v);
virtualinvoke v.<java.util.concurrent.ThreadPoolExecutor: void allowCoreThreadTimeOut(boolean)>(1);
return v;
}
public void <init>(int, int, io.smallrye.context.SmallRyeThreadContext, java.util.concurrent.ExecutorService, java.lang.String)
{
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
int v, v;
io.smallrye.context.SmallRyeManagedExecutor$NoPropagationExecutor v;
java.lang.String v;
java.util.concurrent.ExecutorService v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: int;
v := @parameter: int;
v := @parameter: io.smallrye.context.SmallRyeThreadContext;
v := @parameter: java.util.concurrent.ExecutorService;
v := @parameter: java.lang.String;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new io.smallrye.context.SmallRyeManagedExecutor$NoPropagationExecutor;
specialinvoke v.<io.smallrye.context.SmallRyeManagedExecutor$NoPropagationExecutor: void <init>(io.smallrye.context.SmallRyeManagedExecutor)>(v);
v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.Executor noPropagationExecutor> = v;
v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext> = v;
v.<io.smallrye.context.SmallRyeManagedExecutor: int maxAsync> = v;
v.<io.smallrye.context.SmallRyeManagedExecutor: int maxQueued> = v;
v.<io.smallrye.context.SmallRyeManagedExecutor: java.lang.String injectionPointName> = v;
v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor> = v;
return;
}
public void shutdown()
{
java.util.concurrent.ExecutorService v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor>;
interfaceinvoke v.<java.util.concurrent.ExecutorService: void shutdown()>();
return;
}
public java.util.List shutdownNow()
{
java.util.List v;
java.util.concurrent.ExecutorService v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor>;
v = interfaceinvoke v.<java.util.concurrent.ExecutorService: java.util.List shutdownNow()>();
return v;
}
public boolean isShutdown()
{
java.util.concurrent.ExecutorService v;
boolean v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor>;
v = interfaceinvoke v.<java.util.concurrent.ExecutorService: boolean isShutdown()>();
return v;
}
public boolean isTerminated()
{
java.util.concurrent.ExecutorService v;
boolean v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor>;
v = interfaceinvoke v.<java.util.concurrent.ExecutorService: boolean isTerminated()>();
return v;
}
public boolean awaitTermination(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException
{
java.util.concurrent.TimeUnit v;
io.smallrye.context.SmallRyeManagedExecutor v;
long v;
java.util.concurrent.ExecutorService v;
boolean v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: long;
v := @parameter: java.util.concurrent.TimeUnit;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor>;
v = interfaceinvoke v.<java.util.concurrent.ExecutorService: boolean awaitTermination(long,java.util.concurrent.TimeUnit)>(v, v);
return v;
}
public java.util.concurrent.Future submit(java.util.concurrent.Callable)
{
java.util.concurrent.Future v;
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
java.util.concurrent.Callable v, v;
java.util.concurrent.ExecutorService v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.util.concurrent.Callable;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor>;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.util.concurrent.Callable contextualCallableUnlessContextualized(java.util.concurrent.Callable)>(v);
v = interfaceinvoke v.<java.util.concurrent.ExecutorService: java.util.concurrent.Future submit(java.util.concurrent.Callable)>(v);
return v;
}
public java.util.concurrent.Future submit(java.lang.Runnable, java.lang.Object)
{
java.util.concurrent.Future v;
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
java.lang.Object v;
java.lang.Runnable v, v;
java.util.concurrent.ExecutorService v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.lang.Runnable;
v := @parameter: java.lang.Object;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor>;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.lang.Runnable contextualRunnableUnlessContextualized(java.lang.Runnable)>(v);
v = interfaceinvoke v.<java.util.concurrent.ExecutorService: java.util.concurrent.Future submit(java.lang.Runnable,java.lang.Object)>(v, v);
return v;
}
public java.util.concurrent.Future submit(java.lang.Runnable)
{
java.util.concurrent.Future v;
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
java.lang.Runnable v, v;
java.util.concurrent.ExecutorService v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.lang.Runnable;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor>;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.lang.Runnable contextualRunnableUnlessContextualized(java.lang.Runnable)>(v);
v = interfaceinvoke v.<java.util.concurrent.ExecutorService: java.util.concurrent.Future submit(java.lang.Runnable)>(v);
return v;
}
public java.util.List invokeAll(java.util.Collection) throws java.lang.InterruptedException
{
java.util.Iterator v;
java.util.Collection v;
java.util.concurrent.Callable v;
java.util.ArrayList v;
java.util.List v;
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
int v;
java.lang.Object v;
java.util.concurrent.ExecutorService v;
boolean v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.util.Collection;
v = new java.util.ArrayList;
v = interfaceinvoke v.<java.util.Collection: int size()>();
specialinvoke v.<java.util.ArrayList: void <init>(int)>(v);
v = interfaceinvoke v.<java.util.Collection: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.util.concurrent.Callable contextualCallableUnlessContextualized(java.util.concurrent.Callable)>(v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
goto label;
label:
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor>;
v = interfaceinvoke v.<java.util.concurrent.ExecutorService: java.util.List invokeAll(java.util.Collection)>(v);
return v;
}
public java.util.List invokeAll(java.util.Collection, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException
{
java.util.Iterator v;
java.util.Collection v;
java.util.concurrent.Callable v;
long v;
java.util.ArrayList v;
java.util.concurrent.TimeUnit v;
java.util.List v;
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
int v;
java.lang.Object v;
java.util.concurrent.ExecutorService v;
boolean v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.util.Collection;
v := @parameter: long;
v := @parameter: java.util.concurrent.TimeUnit;
v = new java.util.ArrayList;
v = interfaceinvoke v.<java.util.Collection: int size()>();
specialinvoke v.<java.util.ArrayList: void <init>(int)>(v);
v = interfaceinvoke v.<java.util.Collection: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.util.concurrent.Callable contextualCallableUnlessContextualized(java.util.concurrent.Callable)>(v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
goto label;
label:
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor>;
v = interfaceinvoke v.<java.util.concurrent.ExecutorService: java.util.List invokeAll(java.util.Collection,long,java.util.concurrent.TimeUnit)>(v, v, v);
return v;
}
public java.lang.Object invokeAny(java.util.Collection) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
{
java.util.Iterator v;
java.util.Collection v;
java.util.concurrent.Callable v;
java.util.ArrayList v;
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
int v;
java.lang.Object v, v;
java.util.concurrent.ExecutorService v;
boolean v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.util.Collection;
v = new java.util.ArrayList;
v = interfaceinvoke v.<java.util.Collection: int size()>();
specialinvoke v.<java.util.ArrayList: void <init>(int)>(v);
v = interfaceinvoke v.<java.util.Collection: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.util.concurrent.Callable contextualCallableUnlessContextualized(java.util.concurrent.Callable)>(v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
goto label;
label:
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor>;
v = interfaceinvoke v.<java.util.concurrent.ExecutorService: java.lang.Object invokeAny(java.util.Collection)>(v);
return v;
}
public java.lang.Object invokeAny(java.util.Collection, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
{
java.util.Iterator v;
java.util.Collection v;
java.util.concurrent.Callable v;
long v;
java.util.ArrayList v;
java.util.concurrent.TimeUnit v;
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
int v;
java.lang.Object v, v;
java.util.concurrent.ExecutorService v;
boolean v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.util.Collection;
v := @parameter: long;
v := @parameter: java.util.concurrent.TimeUnit;
v = new java.util.ArrayList;
v = interfaceinvoke v.<java.util.Collection: int size()>();
specialinvoke v.<java.util.ArrayList: void <init>(int)>(v);
v = interfaceinvoke v.<java.util.Collection: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.util.concurrent.Callable contextualCallableUnlessContextualized(java.util.concurrent.Callable)>(v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
goto label;
label:
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor>;
v = interfaceinvoke v.<java.util.concurrent.ExecutorService: java.lang.Object invokeAny(java.util.Collection,long,java.util.concurrent.TimeUnit)>(v, v, v);
return v;
}
public void execute(java.lang.Runnable)
{
java.lang.Runnable v, v;
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
java.lang.Class v;
java.lang.String v, v;
java.util.concurrent.ExecutorService v;
boolean v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.lang.Runnable;
v = "java.util.concurrent.CompletableFuture$UniApply";
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Class: java.lang.String getName()>();
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
specialinvoke v.<io.smallrye.context.SmallRyeManagedExecutor: void executeWithoutPropagation(java.lang.Runnable)>(v);
return;
label:
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor>;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.lang.Runnable contextualRunnableUnlessContextualized(java.lang.Runnable)>(v);
interfaceinvoke v.<java.util.concurrent.ExecutorService: void execute(java.lang.Runnable)>(v);
return;
}
private void executeWithoutPropagation(java.lang.Runnable)
{
java.lang.Runnable v;
java.util.concurrent.ExecutorService v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.lang.Runnable;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.ExecutorService executor>;
interfaceinvoke v.<java.util.concurrent.ExecutorService: void execute(java.lang.Runnable)>(v);
return;
}
public java.util.concurrent.CompletableFuture completedFuture(java.lang.Object)
{
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
java.lang.Object v;
java.util.concurrent.CompletableFuture v, v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.lang.Object;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = staticinvoke <java.util.concurrent.CompletableFuture: java.util.concurrent.CompletableFuture completedFuture(java.lang.Object)>(v);
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.util.concurrent.CompletableFuture withContextCapture(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,int)>(v, v, 0);
return v;
}
public java.util.concurrent.CompletionStage completedStage(java.lang.Object)
{
java.lang.Object v;
java.util.concurrent.CompletableFuture v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.lang.Object;
v = virtualinvoke v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.CompletableFuture completedFuture(java.lang.Object)>(v);
return v;
}
public java.util.concurrent.CompletableFuture failedFuture(java.lang.Throwable)
{
java.lang.Throwable v;
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
java.util.concurrent.CompletableFuture v, v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.lang.Throwable;
v = new java.util.concurrent.CompletableFuture;
specialinvoke v.<java.util.concurrent.CompletableFuture: void <init>()>();
virtualinvoke v.<java.util.concurrent.CompletableFuture: boolean completeExceptionally(java.lang.Throwable)>(v);
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.util.concurrent.CompletableFuture withContextCapture(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,int)>(v, v, 0);
return v;
}
public java.util.concurrent.CompletionStage failedStage(java.lang.Throwable)
{
java.lang.Throwable v;
java.util.concurrent.CompletableFuture v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.lang.Throwable;
v = virtualinvoke v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.CompletableFuture failedFuture(java.lang.Throwable)>(v);
return v;
}
public java.util.concurrent.CompletableFuture runAsync(java.lang.Runnable)
{
java.util.concurrent.Executor v;
java.util.concurrent.CompletableFuture v, v;
java.lang.Runnable v, v;
io.smallrye.context.SmallRyeThreadContext v, v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.lang.Runnable;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.lang.Runnable contextualRunnableUnlessContextualized(java.lang.Runnable)>(v);
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.Executor noPropagationExecutor>;
v = staticinvoke <java.util.concurrent.CompletableFuture: java.util.concurrent.CompletableFuture runAsync(java.lang.Runnable,java.util.concurrent.Executor)>(v, v);
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.util.concurrent.CompletableFuture withContextCapture(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,int)>(v, v, 0);
return v;
}
public java.util.concurrent.CompletableFuture supplyAsync(java.util.function.Supplier)
{
java.util.concurrent.Executor v;
java.util.concurrent.CompletableFuture v, v;
java.util.function.Supplier v, v;
io.smallrye.context.SmallRyeThreadContext v, v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.util.function.Supplier;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.util.function.Supplier contextualSupplierUnlessContextualized(java.util.function.Supplier)>(v);
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.util.concurrent.Executor noPropagationExecutor>;
v = staticinvoke <java.util.concurrent.CompletableFuture: java.util.concurrent.CompletableFuture supplyAsync(java.util.function.Supplier,java.util.concurrent.Executor)>(v, v);
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.util.concurrent.CompletableFuture withContextCapture(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,int)>(v, v, 0);
return v;
}
public java.util.concurrent.CompletableFuture newIncompleteFuture()
{
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
java.util.concurrent.CompletableFuture v, v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v = new java.util.concurrent.CompletableFuture;
specialinvoke v.<java.util.concurrent.CompletableFuture: void <init>()>();
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.util.concurrent.CompletableFuture withContextCapture(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,int)>(v, v, 0);
return v;
}
public java.lang.String toString()
{
int v, v;
java.lang.String v, v, v, v;
java.util.Set v, v, v;
io.smallrye.context.impl.ThreadContextProviderPlan v, v, v;
io.smallrye.context.SmallRyeThreadContext v, v, v;
io.smallrye.context.SmallRyeManagedExecutor v;
java.lang.Class v;
java.lang.StringBuilder v, v, v, v, v, v, v, v, v, v, v, v, v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v = new java.lang.StringBuilder;
specialinvoke v.<java.lang.StringBuilder: void <init>()>();
v = class "Lio/smallrye/context/SmallRyeManagedExecutor;";
v = virtualinvoke v.<java.lang.Class: java.lang.String getName()>();
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(v);
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(", ");
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>("with maxAsync: ");
v = v.<io.smallrye.context.SmallRyeManagedExecutor: int maxAsync>;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(int)>(v);
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(", ");
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>("with maxQueued: ");
v = v.<io.smallrye.context.SmallRyeManagedExecutor: int maxQueued>;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(int)>(v);
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(", ");
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>("with cleared contexts: ");
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: io.smallrye.context.impl.ThreadContextProviderPlan getPlan()>();
v = v.<io.smallrye.context.impl.ThreadContextProviderPlan: java.util.Set clearedProviders>;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.Object)>(v);
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(", ");
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>("with propagated contexts: ");
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: io.smallrye.context.impl.ThreadContextProviderPlan getPlan()>();
v = v.<io.smallrye.context.impl.ThreadContextProviderPlan: java.util.Set propagatedProviders>;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.Object)>(v);
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(", ");
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>("with unchanged contexts: ");
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: io.smallrye.context.impl.ThreadContextProviderPlan getPlan()>();
v = v.<io.smallrye.context.impl.ThreadContextProviderPlan: java.util.Set unchangedProviders>;
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.Object)>(v);
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.lang.String injectionPointName>;
if v == null goto label;
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(", ");
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(" with injection point name: ");
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.lang.String injectionPointName>;
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(v);
label:
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.String toString()>();
return v;
}
public io.smallrye.context.impl.ThreadContextProviderPlan getThreadContextProviderPlan()
{
io.smallrye.context.impl.ThreadContextProviderPlan v;
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: io.smallrye.context.impl.ThreadContextProviderPlan getPlan()>();
return v;
}
public int getMaxAsync()
{
int v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: int maxAsync>;
return v;
}
public int getMaxQueued()
{
int v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: int maxQueued>;
return v;
}
public java.lang.String getInjectionPointName()
{
java.lang.String v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: java.lang.String injectionPointName>;
return v;
}
public static io.smallrye.context.SmallRyeManagedExecutor$Builder builder()
{
io.smallrye.context.SmallRyeManagedExecutor$Builder v;
io.smallrye.context.SmallRyeContextManager v;
io.smallrye.context.SmallRyeContextManagerProvider v;
v = staticinvoke <io.smallrye.context.SmallRyeContextManagerProvider: io.smallrye.context.SmallRyeContextManagerProvider instance()>();
v = virtualinvoke v.<io.smallrye.context.SmallRyeContextManagerProvider: io.smallrye.context.SmallRyeContextManager getContextManager()>();
v = virtualinvoke v.<io.smallrye.context.SmallRyeContextManager: io.smallrye.context.SmallRyeManagedExecutor$Builder newManagedExecutorBuilder()>();
return v;
}
public java.util.concurrent.CompletableFuture copy(java.util.concurrent.CompletableFuture)
{
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
java.util.concurrent.CompletableFuture v, v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.util.concurrent.CompletableFuture;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.util.concurrent.CompletableFuture withContextCapture(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,int)>(v, v, 0);
return v;
}
public java.util.concurrent.CompletionStage copy(java.util.concurrent.CompletionStage)
{
java.util.concurrent.CompletionStage v, v;
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v := @parameter: java.util.concurrent.CompletionStage;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
v = virtualinvoke v.<io.smallrye.context.SmallRyeThreadContext: java.util.concurrent.CompletionStage withContextCapture(java.util.concurrent.CompletionStage,java.util.concurrent.Executor)>(v, v);
return v;
}
public io.smallrye.context.SmallRyeThreadContext getThreadContext()
{
io.smallrye.context.SmallRyeThreadContext v;
io.smallrye.context.SmallRyeManagedExecutor v;
v := @this: io.smallrye.context.SmallRyeManagedExecutor;
v = v.<io.smallrye.context.SmallRyeManagedExecutor: io.smallrye.context.SmallRyeThreadContext threadContext>;
return v;
}
}