Ens.Purge

abstract class Ens.Purge

Method Inventory

Methods

classmethod BusinessProcessCount() as %Integer [ Language = objectscript ]
classmethod EventLogCount() as %Integer [ Language = objectscript ]
classmethod GetAllCounts(Output pCount) [ Language = objectscript ]
classmethod GetDoNotDeleteDate(pDaysToKeep As %Integer) as %DateTime [ Language = objectscript ]
classmethod IOLogCount() as %Integer [ Language = objectscript ]
classmethod IsOneSessionPurgable(pSessionId As %String) as %Integer [ Language = objectscript ]
Deprecated - only used by deprecated method PurgeSessions()
classmethod KillGlobals(pDeletedCount, pKeepExtentCount=0, pDisplayLog=1, pBodiesToo=0) [ Language = objectscript ]
For debugging only! This will kill your data. Kill all standard runtime storage in the current namespace. Does not include storage globals from message classes you have defined that are not derived from Ens.MessageBody - to kill those you will need to do a MessageHeader purge with pBodiesToo=1.
classmethod ManagedAlertCount() as %Integer [ Language = objectscript ]
classmethod MessageCount() as %Integer [ Language = objectscript ]
classmethod PurgeAll(Output pDeletedCount, pDaysToKeep As %Integer = 7, pKeepIntegrity As %Boolean = 1, pBodiesToo As %Boolean = 0, pBitmapChunkLimit As %Integer = 500) as %Status [ Language = objectscript ]
classmethod PurgeBusinessProcessesByDate(pDaysToKeep As %Integer = 7, Output pDeletedCount As %Integer, pKeepIntegrity As %Boolean = 1) as %Status [ Language = objectscript ]
classmethod PurgeEventLogs(pNumberToKeep As %Integer = 1000, pMaxNumberToDelete As %Integer = -1, Output pLogsDeleted As %Integer) as %Status [ Language = objectscript ]
classmethod PurgeEventLogsByDate(pDaysToKeep As %Integer = 7, Output pDeletedCount As %Integer, pDummy As %Boolean) as %Status [ Language = objectscript ]
This is just a stub
classmethod PurgeMessagesByDate(pDaysToKeep As %Integer = 7, Output pDeletedCount As %Integer, pKeepIntegrity As %Boolean = 1, pBodiesToo As %Boolean = 0) as %Status [ Language = objectscript ]
classmethod PurgeOneSession(pSessionId As %String) as %Status [ Language = objectscript ]
Deprecated - only used by deprecated method PurgeSessions()
classmethod PurgeRuleLogsByDate(pDaysToKeep As %Integer = 7, Output pDeletedCount As %Integer, pDummy As %Boolean) as %Status [ Language = objectscript ]
classmethod PurgeSessions(pDaysToKeep As %Integer = 7, pMaxNumberToDelete As %Integer = -1, Output pSessionsDeleted As %Integer) as %Status [ Language = objectscript ]
Deprecated - use Ens.MessageHeader:Purge() with pKeepIntegrity=1
classmethod RuleLogCount() as %Integer [ Language = objectscript ]
classmethod SessionCount() as %Integer [ Language = objectscript ]
classmethod ShowGlobals(pBodiesToo As %Boolean = 0) [ Language = objectscript ]
For debugging: show all standard runtime storage in the current namespace. Note that storage globals are not included from message classes you have defined that are not derived from Ens.MessageBody.
Feedback