public class io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder
super_class: java.lang.Object
{
private final io.dropwizard.lifecycle.setup.LifecycleEnvironment environment;
descriptor: Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String nameFormat;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int poolSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.ThreadFactory threadFactory;
descriptor: Ljava/util/concurrent/ThreadFactory;
flags: (0x0002) ACC_PRIVATE
private io.dropwizard.util.Duration shutdownTime;
descriptor: Lio/dropwizard/util/Duration;
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.RejectedExecutionHandler handler;
descriptor: Ljava/util/concurrent/RejectedExecutionHandler;
flags: (0x0002) ACC_PRIVATE
private boolean removeOnCancel;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(io.dropwizard.lifecycle.setup.LifecycleEnvironment, java.lang.String, java.util.concurrent.ThreadFactory);
descriptor: (Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;Ljava/lang/String;Ljava/util/concurrent/ThreadFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.environment:Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
2: aload 0
aload 2
putfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.nameFormat:Ljava/lang/String;
3: aload 0
iconst_1
putfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.poolSize:I
4: aload 0
aload 3
putfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.threadFactory:Ljava/util/concurrent/ThreadFactory;
5: aload 0
ldc 5
invokestatic io.dropwizard.util.Duration.seconds:(J)Lio/dropwizard/util/Duration;
putfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.shutdownTime:Lio/dropwizard/util/Duration;
6: aload 0
new java.util.concurrent.ThreadPoolExecutor$AbortPolicy
dup
invokespecial java.util.concurrent.ThreadPoolExecutor$AbortPolicy.<init>:()V
putfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.handler:Ljava/util/concurrent/RejectedExecutionHandler;
7: aload 0
iconst_0
putfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.removeOnCancel:Z
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
0 9 1 environment Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
0 9 2 nameFormat Ljava/lang/String;
0 9 3 factory Ljava/util/concurrent/ThreadFactory;
MethodParameters:
Name Flags
environment
nameFormat
factory
public void <init>(io.dropwizard.lifecycle.setup.LifecycleEnvironment, java.lang.String, boolean);
descriptor: (Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
new com.google.common.util.concurrent.ThreadFactoryBuilder
dup
invokespecial com.google.common.util.concurrent.ThreadFactoryBuilder.<init>:()V
aload 2
invokevirtual com.google.common.util.concurrent.ThreadFactoryBuilder.setNameFormat:(Ljava/lang/String;)Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
iload 3
invokevirtual com.google.common.util.concurrent.ThreadFactoryBuilder.setDaemon:(Z)Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
invokevirtual com.google.common.util.concurrent.ThreadFactoryBuilder.build:()Ljava/util/concurrent/ThreadFactory;
invokespecial io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.<init>:(Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;Ljava/lang/String;Ljava/util/concurrent/ThreadFactory;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
0 2 1 environment Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
0 2 2 nameFormat Ljava/lang/String;
0 2 3 useDaemonThreads Z
MethodParameters:
Name Flags
environment
nameFormat
useDaemonThreads
public io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder threads(int);
descriptor: (I)Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.poolSize:I
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
0 2 1 threads I
MethodParameters:
Name Flags
threads
public io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder shutdownTime(io.dropwizard.util.Duration);
descriptor: (Lio/dropwizard/util/Duration;)Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.shutdownTime:Lio/dropwizard/util/Duration;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
0 2 1 time Lio/dropwizard/util/Duration;
MethodParameters:
Name Flags
time
public io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder rejectedExecutionHandler(java.util.concurrent.RejectedExecutionHandler);
descriptor: (Ljava/util/concurrent/RejectedExecutionHandler;)Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.handler:Ljava/util/concurrent/RejectedExecutionHandler;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
0 2 1 handler Ljava/util/concurrent/RejectedExecutionHandler;
MethodParameters:
Name Flags
handler
public io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder threadFactory(java.util.concurrent.ThreadFactory);
descriptor: (Ljava/util/concurrent/ThreadFactory;)Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.threadFactory:Ljava/util/concurrent/ThreadFactory;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
0 2 1 threadFactory Ljava/util/concurrent/ThreadFactory;
MethodParameters:
Name Flags
threadFactory
public io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder removeOnCancelPolicy(boolean);
descriptor: (Z)Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.removeOnCancel:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
0 2 1 removeOnCancel Z
MethodParameters:
Name Flags
removeOnCancel
public java.util.concurrent.ScheduledExecutorService build();
descriptor: ()Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: new java.util.concurrent.ScheduledThreadPoolExecutor
dup
aload 0
getfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.poolSize:I
aload 0
getfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.threadFactory:Ljava/util/concurrent/ThreadFactory;
aload 0
getfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.handler:Ljava/util/concurrent/RejectedExecutionHandler;
invokespecial java.util.concurrent.ScheduledThreadPoolExecutor.<init>:(ILjava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)V
astore 1
start local 1 1: aload 1
aload 0
getfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.removeOnCancel:Z
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.setRemoveOnCancelPolicy:(Z)V
2: aload 0
getfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.environment:Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
new io.dropwizard.lifecycle.ExecutorServiceManager
dup
aload 1
aload 0
getfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.shutdownTime:Lio/dropwizard/util/Duration;
aload 0
getfield io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.nameFormat:Ljava/lang/String;
invokespecial io.dropwizard.lifecycle.ExecutorServiceManager.<init>:(Ljava/util/concurrent/ExecutorService;Lio/dropwizard/util/Duration;Ljava/lang/String;)V
invokevirtual io.dropwizard.lifecycle.setup.LifecycleEnvironment.manage:(Lio/dropwizard/lifecycle/Managed;)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
1 4 1 executor Ljava/util/concurrent/ScheduledThreadPoolExecutor;
}
SourceFile: "ScheduledExecutorServiceBuilder.java"
InnerClasses:
public AbortPolicy = java.util.concurrent.ThreadPoolExecutor$AbortPolicy of java.util.concurrent.ThreadPoolExecutor