com.lmax.disruptor
Interface EntryTranslator<T extends AbstractEntry>

Type Parameters:
T - AbstractEntry implementation storing the data for sharing during exchange or parallel coordination of an event.

public interface EntryTranslator<T extends AbstractEntry>

Implementations translate a other data representations into AbstractEntrys claimed from the RingBuffer


Method Summary
 T translateTo(T entry)
          Translate a data representation into fields set in given AbstractEntry
 

Method Detail

translateTo

T translateTo(T entry)
Translate a data representation into fields set in given AbstractEntry

Parameters:
entry - into which the data should be translated.
Returns:
the resulting entry after it has been updated.


Copyright © 2011 LMAX Ltd. All Rights Reserved.