public interface RingBufferProxyGenerator
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createRingBufferProxy(java.lang.Class<T> definition,
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> definition,
com.lmax.disruptor.dsl.Disruptor<ProxyMethodInvocation> disruptor,
OverflowStrategy overflowStrategy,
T implementation)
Create a disruptor proxy with a single implementation instance
|
<T> T createRingBufferProxy(java.lang.Class<T> definition,
com.lmax.disruptor.dsl.Disruptor<ProxyMethodInvocation> disruptor,
OverflowStrategy overflowStrategy,
T implementation)
T - the type of the implementationdefinition - 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 handler<T> T createRingBufferProxy(java.lang.Class<T> definition,
com.lmax.disruptor.dsl.Disruptor<ProxyMethodInvocation> disruptor,
OverflowStrategy overflowStrategy,
T... implementations)
T - the type of the implementationdefinition - 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)