Skip to main content

Ens.Purge

abstract class Ens.Purge

Method Inventory

Methods

classmethod BusinessProcessCount() as %Integer
classmethod EventLogCount() as %Integer
classmethod GetAllCounts(Output pCount)
classmethod GetDoNotDeleteDate(pDaysToKeep As %Integer) as %DateTime
classmethod IOLogCount() as %Integer
classmethod IsOneSessionPurgable(pSessionId As %String) as %Integer
Deprecated - only used by deprecated method PurgeSessions()
classmethod KillGlobals(pDeletedCount, pKeepExtentCount=0, pDisplayLog=1, pBodiesToo=0)
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
classmethod MessageCount() as %Integer
classmethod PurgeAll(Output pDeletedCount, pDaysToKeep As %Integer = 7, pKeepIntegrity As %Boolean = 1, pBodiesToo As %Boolean = 0, pBitmapChunkLimit As %Integer = 500, ByRef pExtendedOptions As %String) as %Status
classmethod PurgeBusinessProcessesByDate(pDaysToKeep As %Integer = 7, Output pDeletedCount As %Integer, pKeepIntegrity As %Boolean = 1) as %Status
classmethod PurgeEventLogs(pNumberToKeep As %Integer = 1000, pMaxNumberToDelete As %Integer = -1, Output pLogsDeleted As %Integer) as %Status
classmethod PurgeEventLogsByDate(pDaysToKeep As %Integer = 7, Output pDeletedCount As %Integer, pDummy As %Boolean) as %Status
This is just a stub
classmethod PurgeMessagesByDate(pDaysToKeep As %Integer = 7, Output pDeletedCount As %Integer, pKeepIntegrity As %Boolean = 1, pBodiesToo As %Boolean = 0, ByRef pExtendedOptions As %String) as %Status
classmethod PurgeOneSession(pSessionId As %String) as %Status
Deprecated - only used by deprecated method PurgeSessions()
classmethod PurgeRuleLogsByDate(pDaysToKeep As %Integer = 7, Output pDeletedCount As %Integer, pDummy As %Boolean) as %Status
classmethod PurgeSessions(pDaysToKeep As %Integer = 7, pMaxNumberToDelete As %Integer = -1, Output pSessionsDeleted As %Integer) as %Status
Deprecated - use Ens.Util.MessagePurge:Purge() with pKeepIntegrity=1
classmethod RuleLogCount() as %Integer
classmethod SessionCount() as %Integer
classmethod ShowGlobals(pBodiesToo As %Boolean = 0)
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.
FeedbackOpens in a new tab