Interface EventTranslatorTwoArg<T,​A,​B>

  • Type Parameters:
    T - event implementation storing the data for sharing during exchange or parallel coordination of an event.
    A - type first user specified argument to the translator.
    B - type second user specified argument to the translator.

    public interface EventTranslatorTwoArg<T,​A,​B>
    Implementations translate another data representations into events claimed from the RingBuffer
    See Also:
    EventTranslator
    • Method Detail

      • translateTo

        void translateTo​(T event,
                         long sequence,
                         A arg0,
                         B arg1)
        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
        arg1 - The second user specified argument to the translator