Method | Description | |
---|---|---|
SignalAllWhenBlocking ( ) : void |
Signal those IEventProcessor waiting that the cursor has advanced.
|
|
WaitFor ( long sequence, |
Wait for the given sequence to be available This strategy is a good compromise between performance and CPU resource without incurring significant latency spikes.
|
Method | Description | |
---|---|---|
ApplyWaitMethod ( ISequenceBarrier barrier, int counter ) : int |
public WaitFor ( long sequence, |
||
sequence | long | sequence to be waited on. |
cursor | Ring buffer cursor on which to wait. | |
dependentSequence | ISequence | dependents further back the chain that must advance first |
barrier | ISequenceBarrier | barrier the |
return | long |