%Net.Remote.ActivityLog
persistent class %Net.Remote.ActivityLog extends %Library.Persistent
SQL Table Name: %Net_Remote.ActivityLog
Recent activity log for Object Gateway Servers.Property Inventory (Including Private)
Method Inventory (Including Private)
Properties (Including Private)
property DateTime as %TimeStamp;
Property methods: DateTimeDisplayToLogical(), DateTimeGet(), DateTimeGetStored(), DateTimeIsValid(), DateTimeLogicalToDisplay(), DateTimeNormalize(), DateTimeOdbcToLogical(), DateTimeSet()
property GatewayName as %String;
Property methods: GatewayNameDisplayToLogical(), GatewayNameGet(), GatewayNameGetStored(), GatewayNameIsValid(), GatewayNameLogicalToDisplay(), GatewayNameLogicalToOdbc(), GatewayNameNormalize(), GatewayNameSet()
property GatewayType as %String;
Property methods: GatewayTypeDisplayToLogical(), GatewayTypeGet(), GatewayTypeGetStored(), GatewayTypeIsValid(), GatewayTypeLogicalToDisplay(), GatewayTypeLogicalToOdbc(), GatewayTypeNormalize(), GatewayTypeSet()
property Job as %String;
Property methods: JobDisplayToLogical(), JobGet(), JobGetStored(), JobIsValid(), JobLogicalToDisplay(), JobLogicalToOdbc(), JobNormalize(), JobSet()
property Port as %String;
Property methods: PortDisplayToLogical(), PortGet(), PortGetStored(), PortIsValid(), PortLogicalToDisplay(), PortLogicalToOdbc(), PortNormalize(), PortSet()
property RecordType as %String (DISPLAYLIST = ",Debug,Info,Warning,Error", VALUELIST = ",0,1,2,3");
Property methods: RecordTypeDisplayToLogical(), RecordTypeGet(), RecordTypeGetStored(), RecordTypeIsValid(), RecordTypeLogicalToDisplay(), RecordTypeLogicalToOdbc(), RecordTypeNormalize(), RecordTypeSet()
property Server as %String;
Property methods: ServerDisplayToLogical(), ServerGet(), ServerGetStored(), ServerIsValid(), ServerLogicalToDisplay(), ServerLogicalToOdbc(), ServerNormalize(), ServerSet()
property Text as %String);
Property methods: TextDisplayToLogical(), TextGet(), TextGetStored(), TextIsValid(), TextLogicalToDisplay(), TextLogicalToOdbc(), TextNormalize(), TextSet()
Methods (Including Private)
classmethod Purge(pDays As %Integer = 7, Output pDeleted As %Integer) as %Status [ Language = objectscript ]
Purge Gateway activity log records older than a given number of days (default 7 days).
Queries
query ByDateTime(ts1 As %TimeStamp = "1900-01-10", ts2 As %TimeStamp = "2030-01-10")
Selects ID, DateTime, GatewayName, GatewayType, RecordType, Job, Text
SQL Query:
SELECT %ID, DateTime, GatewayName, %EXTERNAL(GatewayType) As Type, %EXTERNAL(RecordType) As RecordType, Job, Text FROM ActivityLog WHERE DateTime >= :ts1 AND DateTime <= :ts2 ORDER BY %ID DESC
SELECT %ID, DateTime, GatewayName, %EXTERNAL(GatewayType) As Type, %EXTERNAL(RecordType) As RecordType, Job, Text FROM ActivityLog WHERE DateTime >= :ts1 AND DateTime <= :ts2 ORDER BY %ID DESC
Lookup all Gateways by DateTime range.
query ByName(name As %String)
Selects ID, DateTime, RecordType, Job, Text
SQL Query:
SELECT %ID, DateTime, RecordType, Job, Text FROM ActivityLog WHERE GatewayName = :name ORDER BY %ID DESC
SELECT %ID, DateTime, RecordType, Job, Text FROM ActivityLog WHERE GatewayName = :name ORDER BY %ID DESC
Lookup by Gateway Name.
query ByNameDateTime(name As %String, ts1 As %TimeStamp = "1900-01-10", ts2 As %TimeStamp = "2030-01-10")
Selects ID, DateTime, RecordType, Job, Text
SQL Query:
SELECT %ID, DateTime, RecordType, Job, Text FROM ActivityLog WHERE GatewayName = :name AND DateTime >= :ts1 AND DateTime <= :ts2 ORDER BY %ID DESC
SELECT %ID, DateTime, RecordType, Job, Text FROM ActivityLog WHERE GatewayName = :name AND DateTime >= :ts1 AND DateTime <= :ts2 ORDER BY %ID DESC
Lookup by Gateway Name and DateTime range.
Indexes
index (NameTSIndex on GatewayName,DateTime);
Index methods: NameTSIndexExists()
index (TSIndex on DateTime);
Index methods: TSIndexExists()
Inherited Members
Inherited Methods (Including Private)
- %AcquireLock()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %ConstructCloneInit()
- %Delete()
- %DeleteData()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnAddToSaveSet()
- %OnAfterBuildIndices()
- %OnAfterDelete()
- %OnAfterPurgeIndices()
- %OnAfterSave()
- %OnBeforeAddToSync()
- %OnBeforeBuildIndices()
- %OnBeforePurgeIndices()
- %OnBeforeSave()
- %OnClose()
- %OnConstructClone()
- %OnDelete()
- %OnDetermineClass()
- %OnJournalObject()
- %OnNew()
- %OnOpen()
- %OnReload()
- %OnRollBack()
- %OnValidateObject()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %ReleaseLock()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveData()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
Storage
Storage Model: Storage (%Net.Remote.ActivityLog)
^IRIS.Temp.Gateway.ActivityLogD(ID) |
= | %%CLASSNAME
DateTime
RecordType
GatewayName
GatewayType
Server
Port
Text
Job
|