Search Results for

    Show / Hide Table of Contents

    Class ServiceAgreementMetric

    Represents a rule for collecting service performance metric accumulated over the specified time interval and limited with minimum and maximum values.

    Inheritance
    object
    DomainObjectBase
    ServiceAgreementMetric
    Implements
    IValidator
    IExtensibleDataObject
    IEquatable<ServiceAgreementMetric>
    Inherited Members
    DomainObjectBase.IsValidElementName(string)
    DomainObjectBase.AreEqual(DateTime?, DateTime?)
    DomainObjectBase.Equals(DomainObjectBase)
    DomainObjectBase.Id
    DomainObjectBase.Key
    DomainObjectBase.Created
    DomainObjectBase.Updated
    DomainObjectBase.IsMajorObject
    DomainObjectBase.ErrorMessage
    DomainObjectBase.ExtensionData
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Entities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    [DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
    public class ServiceAgreementMetric : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<ServiceAgreementMetric>
    Remarks

    Service metric class defines a monitored performance metric with its acceptable limits. If observed metric goes outside of the specified boundaries, service agreement is considered to be violated. Metric is minitored over fixed time interval. This interval can be defined in seconds, minutes, hours, etc as defined in TimeUnit enumeration.

    Constructors

    ServiceAgreementMetric()

    Initializes an empty instance.

    Declaration
    public ServiceAgreementMetric()

    Properties

    IntervalUnit

    Gets or sets the units in which time interval is measured.

    Declaration
    [DataMember(Name = "TimeUnit")]
    public TimeUnit IntervalUnit { get; set; }
    Property Value
    Type Description
    TimeUnit

    IntervalValue

    Gets or sets the time interval used for accumulating and aggregating service metric.

    Declaration
    [DataMember(Name = "TimeValue")]
    public int IntervalValue { get; set; }
    Property Value
    Type Description
    int

    MetricMaximumValue

    Gets or sets the metric's maximum value that satisfies the service agreement. If property is not set then metric's value is not limited.

    Declaration
    [DataMember(Name = "Max")]
    public decimal? MetricMaximumValue { get; set; }
    Property Value
    Type Description
    decimal?

    MetricMinimumValue

    Gets or sets the metric's minimum value that satisfies the service agreement.

    Declaration
    [DataMember(Name = "Min")]
    public decimal MetricMinimumValue { get; set; }
    Property Value
    Type Description
    decimal

    MetricType

    Gets or sets the type of the monitored service metric.

    Declaration
    [DataMember(Name = "Metric")]
    public ServiceMetricType MetricType { get; set; }
    Property Value
    Type Description
    ServiceMetricType

    ObjectType

    Gets object type identifier.

    Declaration
    public override EntityType ObjectType { get; }
    Property Value
    Type Description
    EntityType
    Overrides
    DomainObjectBase.ObjectType

    ServiceAgreementId

    Gets or sets service agreement identifier that metric belong to.

    Declaration
    [DataMember]
    public int ServiceAgreementId { get; set; }
    Property Value
    Type Description
    int

    Methods

    Equals(ServiceAgreementMetric)

    Determines whether the specified domain object is equal to the current object.

    Declaration
    public bool Equals(ServiceAgreementMetric other)
    Parameters
    Type Name Description
    ServiceAgreementMetric other

    The object to compare with the current object.

    Returns
    Type Description
    bool

    True, if objects are equal. False, if objects are not equal.

    Equals(object)

    Determines whether the specified domain object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    True, if objects are equal. False, if objects are not equal.

    Overrides
    DomainObjectBase.Equals(object)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code of the current instance.

    Overrides
    DomainObjectBase.GetHashCode()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    DomainObjectBase.ToString()

    Validate()

    Evaluates the state of this object.

    Declaration
    [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
    public override bool Validate()
    Returns
    Type Description
    bool

    True if state is valid; otherwise, false.

    Overrides
    DomainObjectBase.Validate()

    Implements

    IValidator
    IExtensibleDataObject
    IEquatable<T>
    In This Article
    Back to top Nevatech Sentinet 6.7 Online Documentation