Search code examples
javadisruptor-pattern

The simplest and actual example code of LMAX Disruptor


I wish I can get the simplest possible example code, which will show how to use LMAX disruptor(http://code.google.com/p/disruptor/).

Unfortunately every piece of code is out of date. Does someone know, where can I found small and up to date howto (preferable without DSL)?


Solution

  • you can see the example here.

    http://code.google.com/p/disruptor/wiki/CodeExampleDisruptor2x

    I have done a simple example by using the above wiki. hope this helps you.