Class TopicSettings


  • public class TopicSettings
    extends java.lang.Object
    • Constructor Detail

      • TopicSettings

        public TopicSettings()
    • Method Detail

      • getInitialEntitySet

        @Nullable
        public java.util.List<? extends deltix.qsrv.hf.pub.InstrumentIdentity> getInitialEntitySet()
      • setInitialEntitySet

        public TopicSettings setInitialEntitySet​(java.util.List<? extends deltix.qsrv.hf.pub.InstrumentIdentity> initialEntitySet)
        Defines initial entity set (may be empty). Providing entity set that matches expected data removes extra overhead that associated with generation of indexes for new entities.
      • getCopyToStream

        @Nullable
        public java.lang.String getCopyToStream()
      • setCopyToStream

        public TopicSettings setCopyToStream​(java.lang.String copyToStreamKey)
        Enables background process that will copy all the data passed to this topic into a stream with the specified name. Keep in mind that if the topic data rate is too high then the stream may be unable to cope with it. In that case the topics's data producers will be blocked (any may loose data).
      • setMulticastSettings

        public TopicSettings setMulticastSettings​(@Nullable
                                                  MulticastTopicSettings multicastSettings)
        Warning: This API is a "work in progress" (WIP) and is a subject to change.

        Enables multicast operation mode.

        In this mode all Publishers send data via UDP multicast. Note: this should be used only in the networks under your control and only if you sure if the multicast traffic will not clog other applications.

        Parameters:
        multicastSettings - multicast settings. null value will enable multicast with default settings.
      • setSinglePublisherUdpMode

        public TopicSettings setSinglePublisherUdpMode​(java.lang.String publisherAddress)
        Enables UDP operation mode with single predefined publisher. Ony one publisher at a time can be used for this topic. This publisher can run only on the specified host.
        Parameters:
        publisherAddress - IP address or hostname of the host that will run publisher.
      • getPublisherAddress

        public java.lang.String getPublisherAddress()
      • getTopicType

        @Nonnull
        public TopicType getTopicType()