public final class GeneratedRingBufferProxyGenerator extends java.lang.Object implements RingBufferProxyGenerator
| Constructor and Description |
|---|
GeneratedRingBufferProxyGenerator(RingBufferProxyValidation validator) |
GeneratedRingBufferProxyGenerator(RingBufferProxyValidation validator,
DropListener dropListener) |
GeneratedRingBufferProxyGenerator(RingBufferProxyValidation validator,
DropListener dropListener,
MessagePublicationListener messagePublicationListener) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createRingBufferProxy(java.lang.Class<T> proxyInterface,
com.lmax.disruptor.dsl.Disruptor<ProxyMethodInvocation> disruptor,
OverflowStrategy overflowStrategy,
T... implementations)
Create a disruptor proxy with multiple implementation instances
|
<T> T |
createRingBufferProxy(java.lang.Class<T> proxyInterface,
com.lmax.disruptor.dsl.Disruptor<ProxyMethodInvocation> disruptor,
OverflowStrategy overflowStrategy,
T implementation)
Create a disruptor proxy with a single implementation instance
|
public GeneratedRingBufferProxyGenerator(RingBufferProxyValidation validator)
public GeneratedRingBufferProxyGenerator(RingBufferProxyValidation validator, DropListener dropListener)
public GeneratedRingBufferProxyGenerator(RingBufferProxyValidation validator, DropListener dropListener, MessagePublicationListener messagePublicationListener)
public <T> T createRingBufferProxy(java.lang.Class<T> proxyInterface,
com.lmax.disruptor.dsl.Disruptor<ProxyMethodInvocation> disruptor,
OverflowStrategy overflowStrategy,
T implementation)
createRingBufferProxy in interface RingBufferProxyGeneratorT - the type of the implementationproxyInterface - the type of the implementationdisruptor - a disruptor instanceoverflowStrategy - an indicator of what action should be taken when the ring-buffer is fullimplementation - the implementation object to be invoked by the Disruptor event handlerpublic <T> T createRingBufferProxy(java.lang.Class<T> proxyInterface,
com.lmax.disruptor.dsl.Disruptor<ProxyMethodInvocation> disruptor,
OverflowStrategy overflowStrategy,
T... implementations)
createRingBufferProxy in interface RingBufferProxyGeneratorT - the type of the implementationproxyInterface - the type of the implementationdisruptor - a disruptor instanceoverflowStrategy - an indicator of what action should be taken when the ring-buffer is fullimplementations - the implementation objects to be invoked by the Disruptor event handler (each on its own Thread)