Package com.lmax.disruptor
Interface EventTranslatorOneArg<T,A>
- Type Parameters:
T- event implementation storing the data for sharing during exchange or parallel coordination of an event.
public interface EventTranslatorOneArg<T,A>
Implementations translate another data representations into events claimed from the
RingBuffer- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidtranslateTo(T event, long sequence, A arg0) Translate a data representation into fields set in given event
-
Method Details
-
translateTo
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.arg0- The first user specified argument to the translator
-