Skip to main content

%Monitor.System.CSPGateway

Class %Monitor.System.CSPGateway Extends %Monitor.System.Adaptor [ System = 4 ]

Parameters

APPLICATION

Parameter APPLICATION [ Internal ] = "CSPGateway";

INDEX

Parameter INDEX [ Internal ] = "GatewayName";

Properties

GatewayName

Property GatewayName As %Monitor.String;

Name of dataset

GWNumber

Property GWNumber As %Monitor.Integer;

GWVersion

Property GWVersion As %Monitor.String;

Activity

Property Activity As %Monitor.String;

MaxConnections

Property MaxConnections As %Monitor.Integer;

ActualConnections

Property ActualConnections As %Monitor.Integer;

InUseConnections

Property InUseConnections As %Monitor.Integer;

PrivateConnections

Property PrivateConnections As %Monitor.Integer;

GWRegistry

Property GWRegistry As %CSP.Mgr.GatewayRegistry;

GWList

Property GWList As %Library.ListOfObjects;

Methods

Initialize

Method Initialize() As %Status

Initialize Gateway metrics.

GetSample

Method GetSample() As %Status

Interrogate the Gateway to obtain metrics

A return code of $$$OK indicates there is a new Gateway instance.
A return code of 0 indicates there is no Gateway instance.

SetAlert

ClassMethod SetAlert(Minimum As %Integer) As %Integer