public class com.lmax.disruptor.dsl.ExceptionHandlerSetting<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.lmax.disruptor.dsl.ExceptionHandlerSetting
super_class: java.lang.Object
{
private final com.lmax.disruptor.EventHandler<T> eventHandler;
descriptor: Lcom/lmax/disruptor/EventHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/lmax/disruptor/EventHandler<TT;>;
private final com.lmax.disruptor.dsl.ConsumerRepository<T> consumerRepository;
descriptor: Lcom/lmax/disruptor/dsl/ConsumerRepository;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/lmax/disruptor/dsl/ConsumerRepository<TT;>;
void <init>(com.lmax.disruptor.EventHandler<T>, com.lmax.disruptor.dsl.ConsumerRepository<T>);
descriptor: (Lcom/lmax/disruptor/EventHandler;Lcom/lmax/disruptor/dsl/ConsumerRepository;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.lmax.disruptor.dsl.ExceptionHandlerSetting.eventHandler:Lcom/lmax/disruptor/EventHandler;
2: aload 0
aload 2
putfield com.lmax.disruptor.dsl.ExceptionHandlerSetting.consumerRepository:Lcom/lmax/disruptor/dsl/ConsumerRepository;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/lmax/disruptor/dsl/ExceptionHandlerSetting<TT;>;
0 4 1 eventHandler Lcom/lmax/disruptor/EventHandler<TT;>;
0 4 2 consumerRepository Lcom/lmax/disruptor/dsl/ConsumerRepository<TT;>;
Signature: (Lcom/lmax/disruptor/EventHandler<TT;>;Lcom/lmax/disruptor/dsl/ConsumerRepository<TT;>;)V
MethodParameters:
Name Flags
eventHandler final
consumerRepository final
public void with(com.lmax.disruptor.ExceptionHandler<? super T>);
descriptor: (Lcom/lmax/disruptor/ExceptionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.lmax.disruptor.dsl.ExceptionHandlerSetting.consumerRepository:Lcom/lmax/disruptor/dsl/ConsumerRepository;
aload 0
getfield com.lmax.disruptor.dsl.ExceptionHandlerSetting.eventHandler:Lcom/lmax/disruptor/EventHandler;
invokevirtual com.lmax.disruptor.dsl.ConsumerRepository.getEventProcessorFor:(Lcom/lmax/disruptor/EventHandler;)Lcom/lmax/disruptor/EventProcessor;
astore 2
start local 2 1: aload 2
instanceof com.lmax.disruptor.BatchEventProcessor
ifeq 5
2: aload 2
checkcast com.lmax.disruptor.BatchEventProcessor
aload 1
invokevirtual com.lmax.disruptor.BatchEventProcessor.setExceptionHandler:(Lcom/lmax/disruptor/ExceptionHandler;)V
3: aload 0
getfield com.lmax.disruptor.dsl.ExceptionHandlerSetting.consumerRepository:Lcom/lmax/disruptor/dsl/ConsumerRepository;
aload 0
getfield com.lmax.disruptor.dsl.ExceptionHandlerSetting.eventHandler:Lcom/lmax/disruptor/EventHandler;
invokevirtual com.lmax.disruptor.dsl.ConsumerRepository.getBarrierFor:(Lcom/lmax/disruptor/EventHandler;)Lcom/lmax/disruptor/SequenceBarrier;
invokeinterface com.lmax.disruptor.SequenceBarrier.alert:()V
4: goto 10
5: StackMap locals: com.lmax.disruptor.EventProcessor
StackMap stack:
new java.lang.RuntimeException
dup
6: new java.lang.StringBuilder
dup
ldc "EventProcessor: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is not a BatchEventProcessor "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc "and does not support exception handlers"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/lmax/disruptor/dsl/ExceptionHandlerSetting<TT;>;
0 11 1 exceptionHandler Lcom/lmax/disruptor/ExceptionHandler<-TT;>;
1 11 2 eventProcessor Lcom/lmax/disruptor/EventProcessor;
Signature: (Lcom/lmax/disruptor/ExceptionHandler<-TT;>;)V
MethodParameters:
Name Flags
exceptionHandler
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ExceptionHandlerSetting.java"