public class com.lmax.disruptor.EventPoller<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.lmax.disruptor.EventPoller
super_class: java.lang.Object
{
private final com.lmax.disruptor.DataProvider<T> dataProvider;
descriptor: Lcom/lmax/disruptor/DataProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/lmax/disruptor/DataProvider<TT;>;
private final com.lmax.disruptor.Sequencer sequencer;
descriptor: Lcom/lmax/disruptor/Sequencer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.lmax.disruptor.Sequence sequence;
descriptor: Lcom/lmax/disruptor/Sequence;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.lmax.disruptor.Sequence gatingSequence;
descriptor: Lcom/lmax/disruptor/Sequence;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.lmax.disruptor.DataProvider<T>, com.lmax.disruptor.Sequencer, com.lmax.disruptor.Sequence, com.lmax.disruptor.Sequence);
descriptor: (Lcom/lmax/disruptor/DataProvider;Lcom/lmax/disruptor/Sequencer;Lcom/lmax/disruptor/Sequence;Lcom/lmax/disruptor/Sequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.lmax.disruptor.EventPoller.dataProvider:Lcom/lmax/disruptor/DataProvider;
2: aload 0
aload 2
putfield com.lmax.disruptor.EventPoller.sequencer:Lcom/lmax/disruptor/Sequencer;
3: aload 0
aload 3
putfield com.lmax.disruptor.EventPoller.sequence:Lcom/lmax/disruptor/Sequence;
4: aload 0
aload 4
putfield com.lmax.disruptor.EventPoller.gatingSequence:Lcom/lmax/disruptor/Sequence;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/lmax/disruptor/EventPoller<TT;>;
0 6 1 dataProvider Lcom/lmax/disruptor/DataProvider<TT;>;
0 6 2 sequencer Lcom/lmax/disruptor/Sequencer;
0 6 3 sequence Lcom/lmax/disruptor/Sequence;
0 6 4 gatingSequence Lcom/lmax/disruptor/Sequence;
Signature: (Lcom/lmax/disruptor/DataProvider<TT;>;Lcom/lmax/disruptor/Sequencer;Lcom/lmax/disruptor/Sequence;Lcom/lmax/disruptor/Sequence;)V
MethodParameters:
Name Flags
dataProvider final
sequencer final
sequence final
gatingSequence final
public com.lmax.disruptor.EventPoller$PollState poll(com.lmax.disruptor.EventPoller$Handler<T>);
descriptor: (Lcom/lmax/disruptor/EventPoller$Handler;)Lcom/lmax/disruptor/EventPoller$PollState;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=13, args_size=2
start local 0 start local 1 0: aload 0
getfield com.lmax.disruptor.EventPoller.sequence:Lcom/lmax/disruptor/Sequence;
invokevirtual com.lmax.disruptor.Sequence.get:()J
lstore 2
start local 2 1: lload 2
lconst_1
ladd
lstore 4
start local 4 2: aload 0
getfield com.lmax.disruptor.EventPoller.sequencer:Lcom/lmax/disruptor/Sequencer;
lload 4
aload 0
getfield com.lmax.disruptor.EventPoller.gatingSequence:Lcom/lmax/disruptor/Sequence;
invokevirtual com.lmax.disruptor.Sequence.get:()J
invokeinterface com.lmax.disruptor.Sequencer.getHighestPublishedSequence:(JJ)J
lstore 6
start local 6 3: lload 4
lload 6
lcmp
ifgt 21
4: lload 2
lstore 9
start local 9 5: StackMap locals: com.lmax.disruptor.EventPoller com.lmax.disruptor.EventPoller$Handler long long long top long
StackMap stack:
aload 0
getfield com.lmax.disruptor.EventPoller.dataProvider:Lcom/lmax/disruptor/DataProvider;
lload 4
invokeinterface com.lmax.disruptor.DataProvider.get:(J)Ljava/lang/Object;
astore 11
start local 11 6: aload 1
aload 11
lload 4
lload 4
lload 6
lcmp
ifne 7
iconst_1
goto 8
StackMap locals: com.lmax.disruptor.EventPoller com.lmax.disruptor.EventPoller$Handler long long long top long java.lang.Object
StackMap stack: com.lmax.disruptor.EventPoller$Handler java.lang.Object long
7: iconst_0
StackMap locals: com.lmax.disruptor.EventPoller com.lmax.disruptor.EventPoller$Handler long long long top long java.lang.Object
StackMap stack: com.lmax.disruptor.EventPoller$Handler java.lang.Object long int
8: invokeinterface com.lmax.disruptor.EventPoller$Handler.onEvent:(Ljava/lang/Object;JZ)Z
istore 8
start local 8 9: lload 4
lstore 9
10: lload 4
lconst_1
ladd
lstore 4
end local 11 11: lload 4
lload 6
lcmp
ifgt 12
iconst_1
goto 13
StackMap locals: com.lmax.disruptor.EventPoller com.lmax.disruptor.EventPoller$Handler long long long int long
StackMap stack:
12: iconst_0
StackMap locals:
StackMap stack: int
13: iload 8
14: iand
ifne 5
15: goto 19
end local 8 16: StackMap locals: com.lmax.disruptor.EventPoller com.lmax.disruptor.EventPoller$Handler long long long top long
StackMap stack: java.lang.Throwable
astore 12
17: aload 0
getfield com.lmax.disruptor.EventPoller.sequence:Lcom/lmax/disruptor/Sequence;
lload 9
invokevirtual com.lmax.disruptor.Sequence.set:(J)V
18: aload 12
athrow
start local 8 19: StackMap locals: com.lmax.disruptor.EventPoller com.lmax.disruptor.EventPoller$Handler long long long int long
StackMap stack:
aload 0
getfield com.lmax.disruptor.EventPoller.sequence:Lcom/lmax/disruptor/Sequence;
lload 9
invokevirtual com.lmax.disruptor.Sequence.set:(J)V
20: getstatic com.lmax.disruptor.EventPoller$PollState.PROCESSING:Lcom/lmax/disruptor/EventPoller$PollState;
areturn
end local 9 end local 8 21: StackMap locals:
StackMap stack:
aload 0
getfield com.lmax.disruptor.EventPoller.sequencer:Lcom/lmax/disruptor/Sequencer;
invokeinterface com.lmax.disruptor.Sequencer.getCursor:()J
lload 4
lcmp
iflt 23
22: getstatic com.lmax.disruptor.EventPoller$PollState.GATING:Lcom/lmax/disruptor/EventPoller$PollState;
areturn
23: StackMap locals:
StackMap stack:
getstatic com.lmax.disruptor.EventPoller$PollState.IDLE:Lcom/lmax/disruptor/EventPoller$PollState;
areturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/lmax/disruptor/EventPoller<TT;>;
0 24 1 eventHandler Lcom/lmax/disruptor/EventPoller$Handler<TT;>;
1 24 2 currentSequence J
2 24 4 nextSequence J
3 24 6 availableSequence J
9 16 8 processNextEvent Z
19 21 8 processNextEvent Z
5 21 9 processedSequence J
6 11 11 event TT;
Exception table:
from to target type
5 16 16 any
Exceptions:
throws java.lang.Exception
Signature: (Lcom/lmax/disruptor/EventPoller$Handler<TT;>;)Lcom/lmax/disruptor/EventPoller$PollState;
MethodParameters:
Name Flags
eventHandler final
public static <T> com.lmax.disruptor.EventPoller<T> newInstance(com.lmax.disruptor.DataProvider<T>, com.lmax.disruptor.Sequencer, com.lmax.disruptor.Sequence, com.lmax.disruptor.Sequence, com.lmax.disruptor.Sequence[]);
descriptor: (Lcom/lmax/disruptor/DataProvider;Lcom/lmax/disruptor/Sequencer;Lcom/lmax/disruptor/Sequence;Lcom/lmax/disruptor/Sequence;[Lcom/lmax/disruptor/Sequence;)Lcom/lmax/disruptor/EventPoller;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
arraylength
ifne 3
1: aload 3
astore 5
start local 5 2: goto 7
end local 5 3: StackMap locals:
StackMap stack:
aload 4
arraylength
iconst_1
if_icmpne 6
4: aload 4
iconst_0
aaload
astore 5
start local 5 5: goto 7
end local 5 6: StackMap locals:
StackMap stack:
new com.lmax.disruptor.FixedSequenceGroup
dup
aload 4
invokespecial com.lmax.disruptor.FixedSequenceGroup.<init>:([Lcom/lmax/disruptor/Sequence;)V
astore 5
start local 5 7: StackMap locals: com.lmax.disruptor.Sequence
StackMap stack:
new com.lmax.disruptor.EventPoller
dup
aload 0
aload 1
aload 2
aload 5
invokespecial com.lmax.disruptor.EventPoller.<init>:(Lcom/lmax/disruptor/DataProvider;Lcom/lmax/disruptor/Sequencer;Lcom/lmax/disruptor/Sequence;Lcom/lmax/disruptor/Sequence;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 dataProvider Lcom/lmax/disruptor/DataProvider<TT;>;
0 8 1 sequencer Lcom/lmax/disruptor/Sequencer;
0 8 2 sequence Lcom/lmax/disruptor/Sequence;
0 8 3 cursorSequence Lcom/lmax/disruptor/Sequence;
0 8 4 gatingSequences [Lcom/lmax/disruptor/Sequence;
2 3 5 gatingSequence Lcom/lmax/disruptor/Sequence;
5 6 5 gatingSequence Lcom/lmax/disruptor/Sequence;
7 8 5 gatingSequence Lcom/lmax/disruptor/Sequence;
Signature: <T:Ljava/lang/Object;>(Lcom/lmax/disruptor/DataProvider<TT;>;Lcom/lmax/disruptor/Sequencer;Lcom/lmax/disruptor/Sequence;Lcom/lmax/disruptor/Sequence;[Lcom/lmax/disruptor/Sequence;)Lcom/lmax/disruptor/EventPoller<TT;>;
MethodParameters:
Name Flags
dataProvider final
sequencer final
sequence final
cursorSequence final
gatingSequences final
public com.lmax.disruptor.Sequence getSequence();
descriptor: ()Lcom/lmax/disruptor/Sequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.lmax.disruptor.EventPoller.sequence:Lcom/lmax/disruptor/Sequence;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/lmax/disruptor/EventPoller<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "EventPoller.java"
NestMembers:
com.lmax.disruptor.EventPoller$Handler com.lmax.disruptor.EventPoller$PollState
InnerClasses:
public abstract Handler = com.lmax.disruptor.EventPoller$Handler of com.lmax.disruptor.EventPoller
public final PollState = com.lmax.disruptor.EventPoller$PollState of com.lmax.disruptor.EventPoller