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