title: How does Disruptor Barriers work?
body: <p>How does LMX disruptor's barrier work? I do understand how to use disruptor with DSL. But I could not found a good reference for how a barrier or sequence barriers work. </p>
  
  <p>e.g. I found following link, but not sure how to use Barrier data strcture. 
  <a href="http://mechanitis.blogspot.com/2011/08/dissecting-disruptor-why-its-so-fast.html" rel="nofollow">http://mechanitis.blogspot.com/2011/08/dissecting-disruptor-why-its-so-fast.html</a></p>
  
  <p>For example, new BatchEventProcessor() accepts a SequenceBarrier. Why? and how can I create one. </p>