Class MetricStreamConfig
- java.lang.Object
-
- com.elastisys.autoscaler.metricstreamers.ceilometer.stream.MetricStreamConfig
-
public class MetricStreamConfig extends java.lang.ObjectSettings for aCeilometerMetricStream.
-
-
Constructor Summary
Constructors Constructor Description MetricStreamConfig(com.elastisys.scale.commons.openstack.AuthConfig auth, java.lang.String region, CeilometerMetricStreamDefinition streamDefinition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)com.elastisys.scale.commons.openstack.AuthConfiggetAuth()Declares how to authenticate with the OpenStack identity service (Keystone).java.lang.StringgetRegion()The particular OpenStack region (out of the ones available in Keystone's service catalog) to connect to.CeilometerMetricStreamDefinitiongetStreamDefinition()Describes what query to run for this particularMetricStream.inthashCode()java.lang.StringtoString()
-
-
-
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 particularMetricStream. 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:
-
getStreamDefinition
public CeilometerMetricStreamDefinition getStreamDefinition()
Describes what query to run for this particularMetricStream.- Returns:
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-