final class com.lmax.disruptor.ProcessingSequenceBarrier implements com.lmax.disruptor.SequenceBarrier
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.lmax.disruptor.ProcessingSequenceBarrier
super_class: java.lang.Object
{
private final com.lmax.disruptor.WaitStrategy waitStrategy;
descriptor: Lcom/lmax/disruptor/WaitStrategy;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.lmax.disruptor.Sequence dependentSequence;
descriptor: Lcom/lmax/disruptor/Sequence;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile boolean alerted;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final com.lmax.disruptor.Sequence cursorSequence;
descriptor: Lcom/lmax/disruptor/Sequence;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.lmax.disruptor.Sequencer sequencer;
descriptor: Lcom/lmax/disruptor/Sequencer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(com.lmax.disruptor.Sequencer, com.lmax.disruptor.WaitStrategy, com.lmax.disruptor.Sequence, com.lmax.disruptor.Sequence[]);
descriptor: (Lcom/lmax/disruptor/Sequencer;Lcom/lmax/disruptor/WaitStrategy;Lcom/lmax/disruptor/Sequence;[Lcom/lmax/disruptor/Sequence;)V
flags: (0x0000)
Code:
stack=4, 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
iconst_0
putfield com.lmax.disruptor.ProcessingSequenceBarrier.alerted:Z
2: aload 0
aload 1
putfield com.lmax.disruptor.ProcessingSequenceBarrier.sequencer:Lcom/lmax/disruptor/Sequencer;
3: aload 0
aload 2
putfield com.lmax.disruptor.ProcessingSequenceBarrier.waitStrategy:Lcom/lmax/disruptor/WaitStrategy;
4: aload 0
aload 3
putfield com.lmax.disruptor.ProcessingSequenceBarrier.cursorSequence:Lcom/lmax/disruptor/Sequence;
5: aload 4
arraylength
ifne 8
6: aload 0
aload 3
putfield com.lmax.disruptor.ProcessingSequenceBarrier.dependentSequence:Lcom/lmax/disruptor/Sequence;
7: goto 9
8: StackMap locals: com.lmax.disruptor.ProcessingSequenceBarrier com.lmax.disruptor.Sequencer com.lmax.disruptor.WaitStrategy com.lmax.disruptor.Sequence com.lmax.disruptor.Sequence[]
StackMap stack:
aload 0
new com.lmax.disruptor.FixedSequenceGroup
dup
aload 4
invokespecial com.lmax.disruptor.FixedSequenceGroup.<init>:([Lcom/lmax/disruptor/Sequence;)V
putfield com.lmax.disruptor.ProcessingSequenceBarrier.dependentSequence:Lcom/lmax/disruptor/Sequence;
9: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/lmax/disruptor/ProcessingSequenceBarrier;
0 10 1 sequencer Lcom/lmax/disruptor/Sequencer;
0 10 2 waitStrategy Lcom/lmax/disruptor/WaitStrategy;
0 10 3 cursorSequence Lcom/lmax/disruptor/Sequence;
0 10 4 dependentSequences [Lcom/lmax/disruptor/Sequence;
MethodParameters:
Name Flags
sequencer final
waitStrategy final
cursorSequence final
dependentSequences final
public long waitFor(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.lmax.disruptor.ProcessingSequenceBarrier.checkAlert:()V
1: aload 0
getfield com.lmax.disruptor.ProcessingSequenceBarrier.waitStrategy:Lcom/lmax/disruptor/WaitStrategy;
lload 1
aload 0
getfield com.lmax.disruptor.ProcessingSequenceBarrier.cursorSequence:Lcom/lmax/disruptor/Sequence;
aload 0
getfield com.lmax.disruptor.ProcessingSequenceBarrier.dependentSequence:Lcom/lmax/disruptor/Sequence;
aload 0
invokeinterface com.lmax.disruptor.WaitStrategy.waitFor:(JLcom/lmax/disruptor/Sequence;Lcom/lmax/disruptor/Sequence;Lcom/lmax/disruptor/SequenceBarrier;)J
lstore 3
start local 3 2: lload 3
lload 1
lcmp
ifge 4
3: lload 3
lreturn
4: StackMap locals: long
StackMap stack:
aload 0
getfield com.lmax.disruptor.ProcessingSequenceBarrier.sequencer:Lcom/lmax/disruptor/Sequencer;
lload 1
lload 3
invokeinterface com.lmax.disruptor.Sequencer.getHighestPublishedSequence:(JJ)J
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/lmax/disruptor/ProcessingSequenceBarrier;
0 5 1 sequence J
2 5 3 availableSequence J
Exceptions:
throws com.lmax.disruptor.AlertException, java.lang.InterruptedException, com.lmax.disruptor.TimeoutException
MethodParameters:
Name Flags
sequence final
public long getCursor();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.lmax.disruptor.ProcessingSequenceBarrier.dependentSequence:Lcom/lmax/disruptor/Sequence;
invokevirtual com.lmax.disruptor.Sequence.get:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/lmax/disruptor/ProcessingSequenceBarrier;
public boolean isAlerted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.lmax.disruptor.ProcessingSequenceBarrier.alerted:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/lmax/disruptor/ProcessingSequenceBarrier;
public void alert();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield com.lmax.disruptor.ProcessingSequenceBarrier.alerted:Z
1: aload 0
getfield com.lmax.disruptor.ProcessingSequenceBarrier.waitStrategy:Lcom/lmax/disruptor/WaitStrategy;
invokeinterface com.lmax.disruptor.WaitStrategy.signalAllWhenBlocking:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/lmax/disruptor/ProcessingSequenceBarrier;
public void clearAlert();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.lmax.disruptor.ProcessingSequenceBarrier.alerted:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/lmax/disruptor/ProcessingSequenceBarrier;
public void checkAlert();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.lmax.disruptor.ProcessingSequenceBarrier.alerted:Z
ifeq 2
1: getstatic com.lmax.disruptor.AlertException.INSTANCE:Lcom/lmax/disruptor/AlertException;
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/lmax/disruptor/ProcessingSequenceBarrier;
Exceptions:
throws com.lmax.disruptor.AlertException
}
SourceFile: "ProcessingSequenceBarrier.java"