Disruptor helloworld示例 [英] Disruptor helloworld example

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

问题描述

我想学习 Disruptor框架.谁能给我一个helloworld示例,该示例可以使用Java程序语言在main方法中运行?

I want to learn the Disruptor framework. Who can give me a helloworld example which can run in the main method with Java program language?

推荐答案

以下是有关如何使用Disruptor库的简单,可运行的示例.示例是使用Disruptor库的2.10.4版编写的.

Here is a simple, runnable, example of how to use the Disruptor library. Example is written using version 2.10.4 of the Disruptor library.

https://github.com/trevorbernard/disruptor-examples

我也对此帖子进行了交叉发布: The LMAX Disruptor的最简单和实际的示例代码

I've also cross posted on this thread: The simplest and actual example code of LMAX Disruptor

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

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