Skip to main content

EMS.Utils

EMS.Utils contains various utility methods for EMS This class is used internally by Caché. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class."

Method Inventory

Methods

classmethod CheckLogFileSize(file As %String) as %String
Check that the log file size has not exceeded the maximum. If it has, rename it with "00000nn" appended to the base file name to create a history log file.
classmethod LogFileList(ByRef LogFiles As %List) as %Status
classmethod LogFileOpen(file) as %Boolean
Open EM log file.
classmethod ManageCPF(Services As %List, CPFName As %String) as %Status
Called from ^STU to handle a modified CPF found at startup. We need to make sure no data in the CPF for any managed Services has been modfied. For now we'll just re-write the CPF with all the current managed objects. First copy all the managed objects in the current CPF to a temp global. Then Read the CPF, Merge back in all of the managed objects, and re-write the CPF.
classmethod PurgeLogFiles(daystokeep As %Integer = 30) as %Status

Inherited Members

Inherited Methods

FeedbackOpens in a new tab