Skip to main content

Ens.Activity.Data.Hours

persistent class Ens.Activity.Data.Hours extends %Library.Persistent, %XML.Adaptor

SQL Table Name: Ens_Activity_Data.Hours

Property Inventory

Method Inventory

Properties

property HostName as %String (MAXLEN = 128, TRUNCATE = 1) [ Required ];
Business host name (configuration item name).
Property methods: HostNameDisplayToLogical(), HostNameGet(), HostNameGetStored(), HostNameIsValid(), HostNameLogicalToDisplay(), HostNameLogicalToOdbc(), HostNameNormalize(), HostNameSet()
property HostType as %String;
Business host type: 1=Service, 2=Process, 3=Operation.
Property methods: HostTypeDisplayToLogical(), HostTypeGet(), HostTypeGetStored(), HostTypeIsValid(), HostTypeLogicalToDisplay(), HostTypeLogicalToOdbc(), HostTypeNormalize(), HostTypeSet()
property Instance as %String (MAXLEN = 128, TRUNCATE = 1) [ Required ];
Full instance name in format SystemName:InstanceName.
Property methods: InstanceDisplayToLogical(), InstanceGet(), InstanceGetStored(), InstanceIsValid(), InstanceLogicalToDisplay(), InstanceLogicalToOdbc(), InstanceNormalize(), InstanceSet()
property Namespace as %String (MAXLEN = 128, TRUNCATE = 1) [ Required ];
Namespace name.
Property methods: NamespaceDisplayToLogical(), NamespaceGet(), NamespaceGetStored(), NamespaceIsValid(), NamespaceLogicalToDisplay(), NamespaceLogicalToOdbc(), NamespaceNormalize(), NamespaceSet()
property Period as %Integer [ Transient ];
Property methods: PeriodCompute(), PeriodDisplayToLogical(), PeriodGet(), PeriodIsValid(), PeriodLogicalToDisplay(), PeriodNormalize(), PeriodSQLCompute(), PeriodSet(), PeriodSetT(), PeriodXSDToLogical()
property SiteDimension as %String (MAXLEN = 128, TRUNCATE = 1);
Property methods: SiteDimensionDisplayToLogical(), SiteDimensionGet(), SiteDimensionGetStored(), SiteDimensionIsValid(), SiteDimensionLogicalToDisplay(), SiteDimensionLogicalToOdbc(), SiteDimensionNormalize(), SiteDimensionSet()
property TimeSlot as %TimeStamp [ Required ];
Timestamp corresponding to the beginning of the time slot, in source time.
Property methods: TimeSlotDisplayToLogical(), TimeSlotGet(), TimeSlotGetStored(), TimeSlotIsValid(), TimeSlotLogicalToDisplay(), TimeSlotLogicalToXSD(), TimeSlotNormalize(), TimeSlotOdbcToLogical(), TimeSlotSet(), TimeSlotXSDToLogical()
property TimeSlotUTC as %TimeStamp [ Required ];
Timestamp corresponding to the beginning of the time slot, in UTC.
Property methods: TimeSlotUTCDisplayToLogical(), TimeSlotUTCGet(), TimeSlotUTCGetStored(), TimeSlotUTCIsValid(), TimeSlotUTCLogicalToDisplay(), TimeSlotUTCLogicalToXSD(), TimeSlotUTCNormalize(), TimeSlotUTCOdbcToLogical(), TimeSlotUTCSet(), TimeSlotUTCXSDToLogical()
property TotalCount as %Integer;
Total message count for the time slot.
Property methods: TotalCountDisplayToLogical(), TotalCountGet(), TotalCountGetStored(), TotalCountIsValid(), TotalCountLogicalToDisplay(), TotalCountNormalize(), TotalCountSet(), TotalCountXSDToLogical()
property TotalDuration as %Numeric (SCALE = 3);
Sum of the individual durations (processing times), for all messages within the time slot.
Property methods: TotalDurationDisplayToLogical(), TotalDurationGet(), TotalDurationGetStored(), TotalDurationIsValid(), TotalDurationLogicalToDisplay(), TotalDurationNormalize(), TotalDurationSet(), TotalDurationXSDToLogical()
property TotalDurationSquare as %Numeric (SCALE = 6);
Sum of the squares of the individual durations (sum of duration**2), for all messages within the time slot.
Property methods: TotalDurationSquareDisplayToLogical(), TotalDurationSquareGet(), TotalDurationSquareGetStored(), TotalDurationSquareIsValid(), TotalDurationSquareLogicalToDisplay(), TotalDurationSquareNormalize(), TotalDurationSquareSet(), TotalDurationSquareXSDToLogical()
property TotalQueueDuration as %Numeric (SCALE = 3);
Sum of the time waiting in queue, for all messages within the time slot.
Property methods: TotalQueueDurationDisplayToLogical(), TotalQueueDurationGet(), TotalQueueDurationGetStored(), TotalQueueDurationIsValid(), TotalQueueDurationLogicalToDisplay(), TotalQueueDurationNormalize(), TotalQueueDurationSet(), TotalQueueDurationXSDToLogical()

Methods

classmethod Purge(pPeriodToKeep As %String = "", pClassScale As %String = "hh") as %Status

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (i1 on Instance,Namespace,SiteDimension,HostName,TimeSlot);
Index methods: i1Exists()
index (i2 on TimeSlot);
Index methods: i2Exists()
index (i3 on Instance,Namespace,SiteDimension,HostName,TimeSlotUTC);
Index methods: i3Exists()
index (i4 on TimeSlotUTC);
Index methods: i4Exists()
index (i5 on SiteDimension);
Index methods: i5Exists()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (Ens.Activity.Data.Hours)

^Ens.Activity.Data.HoursD(ID)
=
%%CLASSNAME
Instance
Namespace
SiteDimension
HostType
HostName
TimeSlot
TimeSlotUTC
TotalCount
TotalDuration
TotalDurationSquare
TotalQueueDuration
FeedbackOpens in a new tab