Namespace: Consultingwerk.OERA.TableStatistics
Class 
UserTableStats Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

MIT License
Copyright (c) 2017 Consultingwerk - Software Architecture and Development
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
File:UserTableStats
Purpose:Collects user table and index stats from instantiation
until each invokation of the GetTableIndexStats method
Author(s):Tom Bascom / White Star Software, Mike Fechner / Consultingwerk
Created:Fri Mar 03 23:27:43 CET 2017
Notes:The instance works against the DICTDB alias. When monitoring
multiple databases, please ensure to set the DICTDB alias
before instantiating this class to the database that this
instance of class should monitor



Top Method Summary
Options Name Purpose
+ GetTableIndexStats (table, table) Returns the current user table and index stats (since the class was instantiated)
# Initialize () Initializes the internal temp-tables with the current value
# InitializeCache () Initializes the cache of _file and _index

Top Constructor Summary
Options Name Purpose
+ UserTableStats () Constructor for the UserTableStats class
+ UserTableStats (character) Constructor for the UserTableStats class


Method Detail
Top

PUBLIC GetTableIndexStats (table, table)

Purpose: Returns the current user table and index stats
(since the class was instantiated)
Notes:

Parameters:
tt_usrTblInfo TEMP-TABLE tt_usrTblInfo
OUTPUT TABLE with the table stats
tt_usrIdxInfo TEMP-TABLE tt_usrIdxInfo
OUTPUT TABLE with the index stats
Top

PROTECTED Initialize ()

Purpose: Initializes the internal temp-tables with the current value
Notes:

Top

PROTECTED InitializeCache ()

Purpose: Initializes the cache of _file and _index
Notes:



Constructor Detail
Top

PUBLIC UserTableStats ()

Purpose: Constructor for the UserTableStats class
Notes: Initializes the user table and index stats
for the dictdb connection of the current user

Top

PUBLIC UserTableStats (character)

Purpose: Constructor for the UserTableStats class
Notes: Initializes the user table and index stats
for the dictdb connection of the current user

Parameters:
pcCustomLogEntryType CHARACTER
The custom log entry type for logging and tracing


Temp-Table Detail

Temp-Table tt_usrIdxInfo

Defined in:

Temp-Table tt_usrTblInfo

Defined in:


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:15:06