Show / Hide Table of Contents

    Class AsplAggregation

    Inheritance
    System.Object
    AsplAggregation
    Namespace: Sensus.Adaptation
    Assembly: SensusAndroid.dll
    Syntax
    public class AsplAggregation : Object

    Constructors

    AsplAggregation()

    Declaration
    public AsplAggregation()

    Properties

    MaxAge

    Maximum age of observed data to aggregate. If null, then the AsplAggregationType specified by Type will be applied to all observed data that are currently held in SensingAgent's cache; otherwise, only observed data whose ages (i.e., time between Timestamp and the current wall clock time) are less than MaxAge will be aggregated. This property should not be confused with MaxObservedDataAge. This property determines the data that should be aggregated for AsplCriterion checking. These data are a subset of the currently cached data observations. The value of MaxObservedDataAge determines the size of the observation cache. So, the intent of MaxAge is to improve the sensitivity of the AsplCriterion, whereas the intent of MaxObservedDataAge is to relieve memory pressure. Caution should exercised when setting these two properties, since an AsplCriterion that requires MaxAge of 5 minutes would not operate properly if MaxObservedDataAge were set to 30 seconds.

    Declaration
    public Nullable<TimeSpan> MaxAge { get; set; }
    Property Value
    Type Description
    System.Nullable<System.TimeSpan>

    The horizon.

    Type

    Type of aggregation to apply.

    Declaration
    public AsplAggregationType Type { get; set; }
    Property Value
    Type Description
    AsplAggregationType

    The type.

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Back to top Copyright © 2014-2018 University of Virginia
    Generated by DocFX