com.lmax.disruptor
Interface EventTranslator<T>
- Type Parameters:
T - event implementation storing the data for sharing during exchange or parallel coordination of an event.
public interface EventTranslator<T>
Implementations translate another data representations into events claimed from the RingBuffer
|
Method Summary |
void |
translateTo(T event,
long sequence)
Translate a data representation into fields set in given event |
translateTo
void translateTo(T event,
long sequence)
- Translate a data representation into fields set in given event
- Parameters:
event - into which the data should be translated.sequence - that is assigned to event.
Copyright © 2011 LMAX Ltd. All Rights Reserved.