Package com.lmax.disruptor
Interface EventTranslatorTwoArg<T,A,B>
- Type Parameters:
T- event implementation storing the data for sharing during exchange or parallel coordination of an event.
public interface EventTranslatorTwoArg<T,A,B>
Implementations translate another data representations into events claimed from the
RingBuffer- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidtranslateTo(T event, long sequence, A arg0, B arg1) 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 translatorarg1- The second user specified argument to the translator
-