Class EventdConfigBean

  • All Implemented Interfaces:
    EventdConfig

    public class EventdConfigBean
    extends java.lang.Object
    implements EventdConfig
    This is used to initialize sink module on Minion. Doesn't support listening events on TCP/UDP.
    • Constructor Detail

      • EventdConfigBean

        public EventdConfigBean()
    • Method Detail

      • getTCPIpAddress

        public java.lang.String getTCPIpAddress()
        Description copied from interface: EventdConfig

        getTCPIpAddress

        Specified by:
        getTCPIpAddress in interface EventdConfig
        Returns:
        a String
      • getUDPIpAddress

        public java.lang.String getUDPIpAddress()
        Description copied from interface: EventdConfig

        getUDPIpAddress

        Specified by:
        getUDPIpAddress in interface EventdConfig
        Returns:
        a String
      • getGetNextEventID

        public java.lang.String getGetNextEventID()
        Description copied from interface: EventdConfig

        getGetNextEventID

        Specified by:
        getGetNextEventID in interface EventdConfig
        Returns:
        a String
      • getNumThreads

        public int getNumThreads()
        Description copied from interface: EventdConfig
        Number of threads used for consuming/dispatching messages.
        Specified by:
        getNumThreads in interface EventdConfig
        Returns:
        number of threads
      • setNumThreads

        public void setNumThreads​(int numThreads)
      • getQueueSize

        public int getQueueSize()
        Description copied from interface: EventdConfig
        Maximum number of messages to keep in memory while waiting to be dispatched.
        Specified by:
        getQueueSize in interface EventdConfig
        Returns:
        queue size
      • setQueueSize

        public void setQueueSize​(int queueSize)
      • getBatchSize

        public int getBatchSize()
        Description copied from interface: EventdConfig
        Messages are aggregated in batches before being dispatched. When the batch reaches this size, it will be dispatched.
        Specified by:
        getBatchSize in interface EventdConfig
        Returns:
        batch size
      • setBatchSize

        public void setBatchSize​(int batchSize)
      • getBatchIntervalMs

        public int getBatchIntervalMs()
        Description copied from interface: EventdConfig
        Messages are aggregated in batches before being dispatched. When the batch has been created for longer than this interval it will be dispatched, regardless of the size.
        Specified by:
        getBatchIntervalMs in interface EventdConfig
        Returns:
        interval in ms
      • setBatchIntervalMs

        public void setBatchIntervalMs​(int batchIntervalMs)