Class AbstractSorter<T extends TimeIdentity>

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

    public abstract class AbstractSorter<T extends TimeIdentity>
    extends java.lang.Object
    implements deltix.data.stream.MessageChannel<deltix.qsrv.hf.pub.InstrumentMessage>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected T entry  
      protected boolean ignoreErrors  
      protected LoadingErrorListener listener  
      protected java.lang.String name  
      protected deltix.data.stream.MessageChannel<deltix.qsrv.hf.pub.InstrumentMessage> prev  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractSorter​(deltix.data.stream.MessageChannel<deltix.qsrv.hf.pub.InstrumentMessage> channel)  
    • Field Detail

      • prev

        protected final deltix.data.stream.MessageChannel<deltix.qsrv.hf.pub.InstrumentMessage> prev
      • ignoreErrors

        protected boolean ignoreErrors
      • name

        protected java.lang.String name
    • Constructor Detail

      • AbstractSorter

        protected AbstractSorter​(deltix.data.stream.MessageChannel<deltix.qsrv.hf.pub.InstrumentMessage> channel)
    • Method Detail

      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • getChannel

        public deltix.data.stream.MessageChannel<deltix.qsrv.hf.pub.InstrumentMessage> getChannel()
      • setIgnoreErrors

        public void setIgnoreErrors​(boolean ignoreErrors)
      • getEntry

        protected TimeIdentity getEntry​(deltix.qsrv.hf.pub.InstrumentMessage msg)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface deltix.util.lang.Disposable