Ens.Purge
abstract class Ens.Purge
Method Inventory
- BusinessProcessCount()
- EventLogCount()
- GetAllCounts()
- GetDoNotDeleteDate()
- IOLogCount()
- IsOneSessionPurgable()
- KillGlobals()
- ManagedAlertCount()
- MessageCount()
- PurgeAll()
- PurgeBusinessProcessesByDate()
- PurgeEventLogs()
- PurgeEventLogsByDate()
- PurgeMessagesByDate()
- PurgeOneSession()
- PurgeRuleLogsByDate()
- PurgeSessions()
- RuleLogCount()
- SessionCount()
- ShowGlobals()
Methods
classmethod BusinessProcessCount() as %Integer
classmethod EventLogCount() as %Integer
classmethod GetAllCounts(Output pCount)
classmethod IOLogCount() 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, pBitmapPurgeRunLimit As %Integer = 600, 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, pBitmapPurgeRunLimit As %Integer = 600) 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, pBitmapPurgeRunLimit As %Integer = 600) 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.