|
Options |
Name |
Purpose |
|
|
Clear ()
|
/* Clears any previously-parsed data. */
|
|
|
CreateRow (buffer, character, character, character, character, character, character, character, int64, datetime-tz, character, character)
|
/* Creates a new record for a tracked object
@param buffer tObject The buffer in which to create the record
@param character The action: one of CREATE, DELETE, DELETE-PENDING
@param character The session id
@param character The request id, if any
@param character The object group
@param character The object type
@param character The object's unique ID
@param character The name of the logfile being parsed
@param int64 The current line in the log
@param datetime-tz The timestamp of the event
@param character Line info
@param character The widget-pool name, if any */
|
|
|
Progress.Json.ObjectModel.JsonObject GetReport ()
|
/* Returns any leaks for all groups as a JSON array of objects
@return JsonObject If there are leaks, an aray of objects, otherwise an empty array returned */
|
|
|
Progress.Json.ObjectModel.JsonObject GetReport (LeakReportParameters)
|
/* Builds the leak report based on the requested filter/criteria
@param pReportParams Parameters for the report
@return JsonObject The leak report */
|
|
|
GetReport (table)
|
/* Returns the internal temp-table BY VALUE. This is to keep the set of data in this object, and
not allow external callers to modify it. They may modify their copy of the data of course.
If this method is called with the BY-REFERENCE option, an AssertionFailedError is raised.
@parameter TABLE tObject. */
|
|
|
Progress.Json.ObjectModel.JsonObject GetReportForGroup (character)
|
/* Returns any leaks for a group as a JSON array of objects
@param character A group identifier. If not in the list above, then all leaks are returned.
@return JsonObject If there are leaks, an aray of objects, otherwise an empty array returned */
|
|
|
Progress.Json.ObjectModel.JsonObject GetReportForSession (character)
|
/* Returns any leaks for a particular session
The session is in one of two forms
- For PASOE, it takes the form "<agent-pid> <abl-session-id>" (as in the agent log)
- For other clients, it takes the form "P-<process-id>" (as in a client log)
@param character The context to search. The search is a BEGINS operation, not EQ
@return JsonObject If there are leaks, an aray of objects, otherwise an empty array returned */
|
|
|
Progress.Json.ObjectModel.JsonObject GetReportForType (character)
|
/* Returns any leaks for a group as a JSON array of objects
@param character A type name, or part thereof. All leaks that begin with this string are returned
@return JsonObject If there are leaks, an aray of objects, otherwise an empty array returned */
|
|
|
CHARACTER GetReportGroups ()
|
/* Returns an array of all the groups that have leaks. If there are no leaks in this group, an indeterminate array
is returned.
@return character[] An aray of the leak groups */
|
|
|
CHARACTER GetReportSessions ()
|
/* Returns an array of all the contexts that have leaks. If there are no leaks for this context, an indeterminate array
is returned.
@return character[] An array of the leak sessions */
|
|
|
LOGICAL HasLeaks ()
|
/* Are there any memory leaks in the scanned log(s)?
@return logical TRUE if there are leaks detected. FALSE if no scan has been done, or if there are no leaks. */
|
|
|
LOGICAL HasLeaksForGroup (character)
|
/* Are there any memory leaks in the scanned log(s), for a specific group?
@param character A group. If the group is not in the list above, will look for any leak
@return logical TRUE if there are leaks detected in that group. FALSE if no scan has been done, or if there are no leaks. */
|
|
|
LOGICAL HasLeaksForSession (character)
|
/* Are there any memory leaks in the scanned log(s), for the specified session?
@param character A session identifier, or part thereof. The check is done with the BEGINS operator. If an unknown value is passed,
then any leak, anywhere, will return TRUE.
@return logical TRUE if there are leaks detected in that group. FALSE if no scan has been done, or if there are no leaks. */
|
|
|
MatchRelated (buffer)
|
/* Find any related records, by a combo of session/group/type/id
CREATE may have DELETE and DELETE-PENDING
DELETE may have CREATE
DELETE-PENDING may have CREATE
@param buffer The record for which to find a related record */
|
|
|
MatchRelatedBlob (buffer)
|
/* Find related BLOB records, by a combo of session/group/id (with LONGCHAR/MEMPTR types checked explicitly)
@param buffer The record for which to find a related record */
|
|
|
MatchRelatedPool (buffer)
|
/* Finds a related record for a widget-pool, by a combo of session/group/type/id and time
@param buffer The record for which to find a related record */
|
|
|
LOGICAL ParseLog (character)
|
/* Reads a log file and determines whether there are leaks.
ParseLog can be called multiple times, for multiple files if needed.
LONGCHARs are ignored, since they are memory-safe (aka cannot leak)
Only lines in the DYNOBJECTS group are read. Parsing errors only refer to lines with DYNOBJECST in them;
lines that do not contain " DYNOBJECTS " in them are skipped and are not parsed.
@param character A file name representing a client log (LOG-MANAGER)
@return logical TRUE if there were no parsing errors during this parse, FALSE otherwise. */
|