Class Reference
InterSystems: The power behind what matters   
Documentation  Search
 

class SYS.Stats.Routine extends SYS.WSMon.wsResource

This class represents system metrics captured for routines. Each property is a different metric. A class may be instantiated by calling the class method 'Sample', and then the current value of each property can be accessed.

For example:

	s ref=##class(SYS.Stats.Routine).Sample()
	w ref.RtnCommands ; display number of routine commands executed
System stats for Routine activity

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
6 1


Summary

Properties
RtnCallsLocal RtnCallsRemote RtnCommands RtnFetchLocal RtnFetchRemote
RtnLines

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
Sample XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType


Properties

• property RtnCallsLocal as %Integer;
The count of all routine calls where the routine is stored locally.
• property RtnCallsRemote as %Integer;
The count of all routine calls where the routine is stored remotely.
• property RtnCommands as %Integer;
The count of all routine commands executed on the system.
• property RtnFetchLocal as %Integer;
The number of times that local routines were fetched from disk into buffers (or saved to disk)
• property RtnFetchRemote as %Integer;
The number of times that remote routines were fetched from disk into buffers (or saved to disk)
• property RtnLines as %Integer;
The count of all routine lines executed on the system. NOTE: This property is deprecated, line counts are no longer available and this actually returns the RtnCommands. It is left here for backwards compatibility, but should no longer be used.

Methods

• classmethod Sample() as SYS.Stats.Global
Instantiate the class and fill in current values for all properties.


Copyright © 1997-2018, InterSystems Corporation