Class SkipSorter

  • All Implemented Interfaces:
    deltix.data.stream.MessageChannel<deltix.qsrv.hf.pub.InstrumentMessage>, deltix.util.lang.Disposable, java.io.Closeable, java.lang.AutoCloseable

    public class SkipSorter
    extends AbstractSorter<TimeIdentity>
    Provides message processing rule that skips out-of-sequence messages. Message is skipped, if message time is not exceeds previous message time by given amount of time (discrepancy).
    • Constructor Detail

      • SkipSorter

        public SkipSorter​(TimeIdentity id,
                          deltix.data.stream.MessageChannel<deltix.qsrv.hf.pub.InstrumentMessage> channel,
                          long maxDiscrepancy)
    • Method Detail

      • send

        public void send​(deltix.qsrv.hf.pub.InstrumentMessage msg)