Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [Ens] >  [Activity] >  [Data] >  [Hours]
Private  Storage   

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
12 1 5


Summary

Properties
HostName HostType Instance Namespace
Period SiteDimension TimeSlot TimeSlotUTC
TotalCount TotalDuration TotalDurationSquare TotalQueueDuration

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject Purge
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType


Properties

• property HostName as %String(MAXLEN=128) [ Required ];
Business host name (configuration item name).
• property HostType as %String;
Business host type: 1=Service, 2=Process, 3=Operation.
• property Instance as %String(MAXLEN=128) [ Required ];
Full instance name in format SystemName:InstanceName.
• property Namespace as %String(MAXLEN=128) [ Required ];
Namespace name.
• property Period as %Integer [ Transient ];
• property SiteDimension as %String(MAXLEN=128);
• property TimeSlot as %TimeStamp [ Required ];
Timestamp corresponding to the beginning of the time slot, in source time.
• property TimeSlotUTC as %TimeStamp [ Required ];
Timestamp corresponding to the beginning of the time slot, in UTC.
• property TotalCount as %Integer;
Total message count for the time slot.
• property TotalDuration as %Numeric(SCALE=3);
Sum of the individual durations (processing times), for all messages within the time slot.
• 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 TotalQueueDuration as %Numeric(SCALE=3);
Sum of the time waiting in queue, for all messages within the time slot.

Methods

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

Indices

•index (i1 on Instance,Namespace,SiteDimension,HostName,TimeSlot);
•index (i2 on TimeSlot);
•index (i3 on Instance,Namespace,SiteDimension,HostName,TimeSlotUTC);
•index (i4 on TimeSlotUTC);
•index (i5 on SiteDimension);


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.