LMAX Disruptor最简单实际的示例代码 [英] The simplest and actual example code of LMAX Disruptor

查看:149
本文介绍了LMAX Disruptor最简单实际的示例代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望我能够获得最简单的示例代码,该代码将展示如何使用LMAX disruptor(http://code.google.com/p/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/).

不幸的是,每一段代码都已过时。有人知道吗,我在哪里可以找到小而且最新的howto(最好没有DSL)?

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)?

推荐答案

你可以看到这个例子这里。

you can see the example here.

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

我使用上面的wiki做了一个简单的例子。希望这会对你有所帮助。

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

这篇关于LMAX Disruptor最简单实际的示例代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆