Package deltix.qsrv.hf.blocks
Class SkipSorter
- java.lang.Object
-
- deltix.qsrv.hf.blocks.AbstractSorter<TimeIdentity>
-
- deltix.qsrv.hf.blocks.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).
-
-
Field Summary
-
Fields inherited from class deltix.qsrv.hf.blocks.AbstractSorter
entry, ignoreErrors, listener, name, prev
-
-
Constructor Summary
Constructors Constructor Description SkipSorter(TimeIdentity id, deltix.data.stream.MessageChannel<deltix.qsrv.hf.pub.InstrumentMessage> channel, long maxDiscrepancy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
send(deltix.qsrv.hf.pub.InstrumentMessage msg)
-
Methods inherited from class deltix.qsrv.hf.blocks.AbstractSorter
close, getChannel, getEntry, getName, onError, setIgnoreErrors, setListener, setName
-
-
-
-
Constructor Detail
-
SkipSorter
public SkipSorter(TimeIdentity id, deltix.data.stream.MessageChannel<deltix.qsrv.hf.pub.InstrumentMessage> channel, long maxDiscrepancy)
-
-