Ens.Purge

abstract class Ens.Purge

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
20

Summary

Methods
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 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) 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) 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.MessageHeader: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.
Copyright © 1997-2020 InterSystems Corporation, Cambridge, MA