Class MessageSorter

  • All Implemented Interfaces:
    deltix.util.lang.Disposable, java.io.Closeable, java.lang.AutoCloseable

    public class MessageSorter
    extends java.lang.Object
    implements deltix.util.lang.Disposable
    • Method Detail

      • halfAvailableMemory

        public static long halfAvailableMemory()
      • add

        public void add​(deltix.qsrv.hf.pub.InstrumentMessage msg)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getTotalNumMessages

        public long getTotalNumMessages()
      • 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
      • finish

        public deltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage> finish()
                                                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • finish

        public deltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage> finish​(TypeLoader bindLoader)
                                                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • getBuffer

        public deltix.util.io.TeraByteOutputStream getBuffer()
      • getBufferSize

        public long getBufferSize()
      • getTmpFile

        public java.io.File getTmpFile()