public interface org.eclipse.jetty.util.thread.TryExecutor extends java.util.concurrent.Executor
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: org.eclipse.jetty.util.thread.TryExecutor
super_class: java.lang.Object
{
public static final org.eclipse.jetty.util.thread.TryExecutor NO_TRY;
descriptor: Lorg/eclipse/jetty/util/thread/TryExecutor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.eclipse.jetty.util.thread.TryExecutor$1
dup
invokespecial org.eclipse.jetty.util.thread.TryExecutor$1.<init>:()V
putstatic org.eclipse.jetty.util.thread.TryExecutor.NO_TRY:Lorg/eclipse/jetty/util/thread/TryExecutor;
1: return
LocalVariableTable:
Start End Slot Name Signature
public abstract boolean tryExecute(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
task
public void execute(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.eclipse.jetty.util.thread.TryExecutor.tryExecute:(Ljava/lang/Runnable;)Z
ifne 2
1: new java.util.concurrent.RejectedExecutionException
dup
invokespecial java.util.concurrent.RejectedExecutionException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/thread/TryExecutor;
0 3 1 task Ljava/lang/Runnable;
MethodParameters:
Name Flags
task
public static org.eclipse.jetty.util.thread.TryExecutor asTryExecutor(java.util.concurrent.Executor);
descriptor: (Ljava/util/concurrent/Executor;)Lorg/eclipse/jetty/util/thread/TryExecutor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.eclipse.jetty.util.thread.TryExecutor
ifeq 2
1: aload 0
checkcast org.eclipse.jetty.util.thread.TryExecutor
areturn
2: StackMap locals:
StackMap stack:
new org.eclipse.jetty.util.thread.TryExecutor$NoTryExecutor
dup
aload 0
invokespecial org.eclipse.jetty.util.thread.TryExecutor$NoTryExecutor.<init>:(Ljava/util/concurrent/Executor;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 executor Ljava/util/concurrent/Executor;
MethodParameters:
Name Flags
executor
}
SourceFile: "TryExecutor.java"
NestMembers:
org.eclipse.jetty.util.thread.TryExecutor$1 org.eclipse.jetty.util.thread.TryExecutor$NoTryExecutor
InnerClasses:
org.eclipse.jetty.util.thread.TryExecutor$1
public NoTryExecutor = org.eclipse.jetty.util.thread.TryExecutor$NoTryExecutor of org.eclipse.jetty.util.thread.TryExecutor