资 源 简 介
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