Class CommonConfiguration

    • Constructor Detail

      • CommonConfiguration

        public CommonConfiguration​(java.lang.String protocol,
                                   java.lang.String protolib)
        Initialize a new instance of CommonConfiguration
        Parameters:
        protocol - The protocol to use
        protolib - The protocol library to use
      • CommonConfiguration

        public CommonConfiguration​(IConfiguration originalConf)
        Duplicates a configuration
        Parameters:
        originalConf - IConfiguration to duplicate
    • Method Detail

      • getCreateChannelTimeout

        public java.lang.Integer getCreateChannelTimeout()
        The timeout on create channel
        Returns:
        The create channel timeout in ms
      • setCreateChannelTimeout

        public void setCreateChannelTimeout​(java.lang.Integer timeout)
        The timeout on create channel
        Parameters:
        timeout - The create channel timeout in ms
      • getChannelSeekTimeout

        public java.lang.Integer getChannelSeekTimeout()
        The timeout on seek channel
        Returns:
        The seek timeout in ms
      • setChannelSeekTimeout

        public void setChannelSeekTimeout​(java.lang.Integer timeout)
        The timeout on seek channel
        Parameters:
        timeout - The seek timeout in ms
      • getReceiveTimeout

        public java.lang.Integer getReceiveTimeout()
        The timeout on channel receive
        Returns:
        The receive timeout in ms
      • setReceiveTimeout

        public void setReceiveTimeout​(java.lang.Integer timeout)
        The timeout on channel receive
        Parameters:
        timeout - The receive timeout
      • getKeepAliveTimeout

        public java.lang.Integer getKeepAliveTimeout()
        The timeout on channel keep alive
        Returns:
        The keep-alive timeout in ms
      • setKeepAliveTimeout

        public void setKeepAliveTimeout​(java.lang.Integer timeout)
        The timeout on channel keep alive
        Parameters:
        timeout - The keep-alive timeout in ms
      • getConsumerTimeout

        public java.lang.Integer getConsumerTimeout()
        The timeout on channel message consume
        Returns:
        The consumer timeout in ms
      • setConsumerTimeout

        public void setConsumerTimeout​(java.lang.Integer timeout)
        The timeout on channel message consume
        Parameters:
        timeout - The consumer timeout in ms
      • getProducerTimeout

        public java.lang.Integer getProducerTimeout()
        The timeout on channel message produce
        Returns:
        The producer timeout in ms
      • setProducerTimeout

        public void setProducerTimeout​(java.lang.Integer timeout)
        The timeout on channel message produce
        Parameters:
        timeout - The producer timeout in ms
      • getCommitTimeout

        public java.lang.Integer getCommitTimeout()
        The timeout on channel message commit
        Returns:
        The commit timeout in ms
      • setCommitTimeout

        public void setCommitTimeout​(java.lang.Integer timeout)
        The timeout on channel message commit
        Parameters:
        timeout - The commit timeout in ms
      • getCommitSync

        public boolean getCommitSync()
        True to commit message in sync
        Returns:
        True to commit message in sync
      • setCommitSync

        public void setCommitSync​(java.lang.Boolean value)
        True to commit message in sync
        Parameters:
        value - True to commit message in sync
      • getEventSync

        public boolean getEventSync()
        True to emit message receive events in sync
        Returns:
        True to emit message receive events in sync
      • setEventSync

        public void setEventSync​(java.lang.Boolean value)
        True to emit message receive events in sync
        Parameters:
        value - True to emit message receive events in sync
      • getInitialOffset

        public java.lang.Long getInitialOffset()
        The initial offset of the channel
        Returns:
        The initial offset of the channel
      • setInitialOffset

        public void setInitialOffset​(java.lang.Long offset)
        The initial offset of the channel
        Parameters:
        offset - The initial offset of the channel