首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 一种干扰物的工具

一种干扰物的工具

  • 资源大小:668.51 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 工具 干扰

资 源 简 介

RingBuffer Proxy Generator A utility for generating Disruptor-backed proxies. Useful when de-multiplexing multi-threaded access. Example ``` final RingBufferProxyGeneratorFactory generatorFactory = new RingBufferProxyGeneratorFactory(); final T tImpl = new ConcreteT(); final RingBufferProxyGenerator generator = generatorFactory.create(GeneratorType.BYTECODE_GENERATION) final T proxy = generator.createRingBufferProxy(tImpl, T.class, disruptor); disruptor.start(); ``` GeneratorType GeneratorType.JDK_REFLECTION - uses java.lang.reflect.Proxy to generate a dynamic proxy that will add events to the RingBuffer. Use this for minimal dependencies. GeneratorType.BYTECODE_GENERATION - uses Javassist to generate classes tha

文 件 列 表

lib
disruptor-2.10.3.jar
javassist.jar
disruptor-mods-1.2.jar
VIP VIP
0.193514s