Class ShenyuConfig.MetricsConfig

  • Enclosing class:
    ShenyuConfig

    public static class ShenyuConfig.MetricsConfig
    extends java.lang.Object
    The type Metrics config.
    • Constructor Summary

      Constructors 
      Constructor Description
      MetricsConfig()
      Instantiates a new Metrics config.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getEnabled()
      Gets enabled.
      java.lang.String getHost()
      Gets host.
      java.lang.String getJmxConfig()
      Gets jmx config.
      java.lang.String getName()
      Gets metrics name.
      java.lang.Integer getPort()
      Gets port.
      java.util.Properties getProps()
      Gets props.
      void setEnabled​(boolean enabled)
      Sets enabled.
      void setHost​(java.lang.String host)
      Sets host.
      void setJmxConfig​(java.lang.String jmxConfig)
      Sets jmx config.
      void setName​(java.lang.String name)
      Sets metrics name.
      void setPort​(java.lang.Integer port)
      Sets port.
      void setProps​(java.util.Properties props)
      Sets props.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MetricsConfig

        public MetricsConfig()
        Instantiates a new Metrics config.
    • Method Detail

      • getEnabled

        public boolean getEnabled()
        Gets enabled.
        Returns:
        the enabled
      • setEnabled

        public void setEnabled​(boolean enabled)
        Sets enabled.
        Parameters:
        enabled - the enabled
      • getName

        public java.lang.String getName()
        Gets metrics name.
        Returns:
        the metrics name
      • setName

        public void setName​(java.lang.String name)
        Sets metrics name.
        Parameters:
        name - the metrics name
      • getHost

        public java.lang.String getHost()
        Gets host.
        Returns:
        the host
      • setHost

        public void setHost​(java.lang.String host)
        Sets host.
        Parameters:
        host - the host
      • getPort

        public java.lang.Integer getPort()
        Gets port.
        Returns:
        the port
      • setPort

        public void setPort​(java.lang.Integer port)
        Sets port.
        Parameters:
        port - the port
      • getJmxConfig

        public java.lang.String getJmxConfig()
        Gets jmx config.
        Returns:
        the jmx config
      • setJmxConfig

        public void setJmxConfig​(java.lang.String jmxConfig)
        Sets jmx config.
        Parameters:
        jmxConfig - the jmx config
      • getProps

        public java.util.Properties getProps()
        Gets props.
        Returns:
        the props
      • setProps

        public void setProps​(java.util.Properties props)
        Sets props.
        Parameters:
        props - the props