Class QuoteUtils


  • public final class QuoteUtils
    extends java.lang.Object
    Description: deltix.qsrv.hf.framework.util.quotes.QuoteUtils Date: Mar 11, 2010
    • Field Detail

      • LOGGER

        public static final java.util.logging.Logger LOGGER
    • Constructor Detail

      • QuoteUtils

        public QuoteUtils()
    • Method Detail

      • createQuoteRequest

        public static QuoteCursorRequest createQuoteRequest​(java.util.Collection<? extends TickStream> streams,
                                                            long currentTime,
                                                            long maxQuoteAge,
                                                            boolean useRaw,
                                                            TypeLoader typeLoader,
                                                            MessageStatefullFilter statefullFilter,
                                                            java.lang.String[] entityTypes,
                                                            deltix.qsrv.hf.pub.InstrumentIdentity[] entities)
      • createQuoteFilter

        public static QuoteFilter createQuoteFilter​(java.util.Collection<? extends TickStream> streams,
                                                    java.lang.String[] entityTypes,
                                                    deltix.qsrv.hf.pub.InstrumentIdentity[] entities,
                                                    MessageStatefullFilter statefullFilter)
      • toString

        public static java.lang.String toString​(java.util.Collection<? extends TickStream> streams,
                                                java.lang.String[] entityTypes,
                                                deltix.qsrv.hf.pub.InstrumentIdentity[] entities)
      • getTypes

        public static java.lang.String[] getTypes​(deltix.timebase.api.MarketMessageType messageType)
      • getStreamsTypes

        public static java.util.Set<java.lang.String> getStreamsTypes​(java.lang.Iterable<DXTickStream> streams,
                                                                      java.lang.Class<?> cls)
      • selectCurrents

        public static UniqueQuoteCursor selectCurrents​(long timestamp,
                                                       long agelimit,
                                                       boolean useRaw,
                                                       TypeLoader typeLoader,
                                                       java.lang.String[] messageTypes,
                                                       deltix.qsrv.hf.pub.InstrumentIdentity[] entities,
                                                       TickStream... streams)