public ProcessingSequenceBarrier(WaitStrategy waitStrategy,
     Sequence cursorSequence,
     Sequence[] dependentSequences)
 {
     this.waitStrategy = waitStrategy;
     this.cursorSequence = cursorSequence;
     this.dependentSequences = dependentSequences;
 }
예제 #2
0
 public Sequencer(int bufferSize,
     ClaimStrategy.Option claimStrategyOption,
     WaitStrategy.Option waitStrategyOption)
 {
     this.claimStrategy = claimStrategyOption.newInstance(bufferSize);
     this.waitStrategy = waitStrategyOption.newInstance();
     this.bufferSize = bufferSize;
 }