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(Nullable<DateTime>, Nullable<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
    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
    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
    public int IntervalValue { get; set; }
    Property Value
    Type Description
    Int32

    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
    public decimal? MetricMaximumValue { get; set; }
    Property Value
    Type Description
    Nullable<Decimal>

    MetricMinimumValue

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

    Declaration
    public decimal MetricMinimumValue { get; set; }
    Property Value
    Type Description
    Decimal

    MetricType

    Gets or sets the type of the monitored service metric.

    Declaration
    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
    public int ServiceAgreementId { get; set; }
    Property Value
    Type Description
    Int32

    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
    Boolean

    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
    Boolean

    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
    Int32

    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
    public override bool Validate()
    Returns
    Type Description
    Boolean

    True if state is valid; otherwise, false.

    Overrides
    DomainObjectBase.Validate()

    Implements

    IValidator
    System.Runtime.Serialization.IExtensibleDataObject
    System.IEquatable<T>
    Back to top Nevatech Sentinet 6.5 Online Documentation