DocBook|Search
Class Reference
%Projection.Monitor
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [USER] >  [%Projection] >  [Monitor]
Private  Storage  

class %Projection.Monitor extends %Projection.AbstractProjection

Register this class as a routine that will work with Cache Monitor.

Metadata is written to Monitor.Application, Monitor.Alert, Monitor.Item and Monitor.ItemGroup

A new persistent class is created called Monitor.Sample.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 3


Summary

Methods
%ClassIsLatestVersion %ClassName %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %Extends %GetParameter %IsA
%OriginalNamespace %PackageName CreateProjection EndCompile
GetParms QueueClass RemoveProjection SetQueueFlag
getDefaultParam getROOTDIR


Parameters

• parameter MONENABLED = 1;
Flag to turn off projection

Methods

• classmethod CreateProjection(classname As %String, ByRef parameters As %String) as %Status
This method is called by the Class Compiler whenever an associated class has finished compiling. classname contains the name of the associated class while parameters contains an array of the projection parameters subscripted by parameter name. Also the special parameter value parameters("%qstruct") contains a merge of the qstruct array this projection is being compiled with. The modified for an incremental compile will contain a comma separated list of the methods that were modified and it will be blank for a full compile
Any errors reported by this method are reported by the Class Compiler but do not effect class compilation in any way.
• classmethod GetParms(cdef As %Dictionary.CompiledClass, ByRef app As %String, ByRef group As %String, ByRef idx As %String)
Get application parameters
• classmethod RemoveProjection(classname As %String, ByRef parameters As %String, recompile As %Boolean) as %Status
This method is called by the Class Compiler whenever an associated class is either a) about to be recompiled, or b) about to be deleted. classname contains the name of the associated class while parameters contains an array of the projection parameters subscripted by parameter name. Also the special parameter value parameters("%qstruct") contains a merge of the qstruct array this projection is being compiled with. recompile is true (1) if the associated class is about to be recompiled. The modified for an incremental compile will contain the comma separated list of methods that were modified and will be blank for a full compiler.
Any errors reported by this method are reported by the Class Compiler but do not effect class compilation in any way.