Class MetricStreamConfig

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      com.elastisys.scale.commons.openstack.AuthConfig getAuth()
      Declares how to authenticate with the OpenStack identity service (Keystone).
      java.lang.String getRegion()
      The particular OpenStack region (out of the ones available in Keystone's service catalog) to connect to.
      CeilometerMetricStreamDefinition getStreamDefinition()
      Describes what query to run for this particular MetricStream.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MetricStreamConfig

        public MetricStreamConfig​(com.elastisys.scale.commons.openstack.AuthConfig auth,
                                  java.lang.String region,
                                  CeilometerMetricStreamDefinition streamDefinition)
        Parameters:
        auth - Declares how to authenticate with the OpenStack identity service (Keystone). Required.
        region - The particular OpenStack region (out of the ones available in Keystone's service catalog) to connect to. For example, RegionOne. Required.
        streamDefinition - Describes what query to run for this particular MetricStream. Required.
    • Method Detail

      • getAuth

        public com.elastisys.scale.commons.openstack.AuthConfig getAuth()
        Declares how to authenticate with the OpenStack identity service (Keystone).
        Returns:
      • getRegion

        public java.lang.String getRegion()
        The particular OpenStack region (out of the ones available in Keystone's service catalog) to connect to. For example, RegionOne.
        Returns:
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object