SAP ABAP Class CL_SPI_METRIC_ADMIN (Configuration and Administration of a PMI Metric)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-PMI (Application Component) Process Monitoring Infrastructure
⤷
SPI8 (Package) Central: Monitoring Administration
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SPI_COUNTER_FV_ADMIN | PMI Metric Admin for Counter Metrics w. Fieldval. Condition | 20080204 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SPI_COUNTER_NC_ADMIN | PMI Metric Admin for Counter Metrics Without Condition | 20080204 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SPI_COUNTER_ST_ADMIN | PMI Metric Admin for Counter Metrics w. Status Condition | 20080204 |
| 4 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SPI_FIELDVALUE_ADMIN | PMI Metric Admin for Status Metrics | 20070904 |
| 5 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SPI_METRIC_ADMIN | PMI Metric Administration | 20070430 |
| 6 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SPI_RESPONSETIME_ADMIN | PMI Metric Admin for Response Time Metrics | 20070605 |
| 7 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SPI_STATUS_ADMIN | PMI Metric Admin for Status Metrics | 20070605 |
Properties
| Class | CL_SPI_METRIC_ADMIN | |
| Short Description | Configuration and Administration of a PMI Metric | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SPI8 | Central: Monitoring Administration |
| Created | 20070430 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SPI_METRIC_ADMIN has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SPI_COUNTER_FV_ADMIN | PMI Metric Admin for Counter Metrics w. Fieldval. Condition | 20080204 | ||
| 2 | IF_SPI_COUNTER_NC_ADMIN | PMI Metric Admin for Counter Metrics Without Condition | 20080204 | ||
| 3 | IF_SPI_COUNTER_ST_ADMIN | PMI Metric Admin for Counter Metrics w. Status Condition | 20080204 | ||
| 4 | IF_SPI_FIELDVALUE_ADMIN | PMI Metric Admin for Status Metrics | 20070904 | ||
| 5 | IF_SPI_METRIC_ADMIN | PMI Metric Administration | 20070430 | ||
| 6 | IF_SPI_RESPONSETIME_ADMIN | PMI Metric Admin for Response Time Metrics | 20070605 | ||
| 7 | IF_SPI_STATUS_ADMIN | PMI Metric Admin for Status Metrics | 20070605 |
Friends
Class CL_SPI_METRIC_ADMIN has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | I | 10 | BDF Limit Reserve in Percent | 20080721 | ||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SPI_ADMIN | Administration Data of a Process | 20070430 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | SSPIADMEV | PMI: Configuration for Metrics (Events) | 20070430 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | TSPIADMEVBDF | Currently Relevant Breakdown Statuses | 20080717 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | TT_EV_COUNTER | Number of Events for Each Assembler Run | 20080721 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | TT_TIME_RANGE | 20070430 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | TSPIADMEVBDF | Modified Breakdown Status | 20081216 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | TT_VALUE_RANGE | 20070430 | ||||
| 9 | Instance attribute | Private | Type reference (TYPE) | SPIBOOL | SPI_FALSE | BDF Status Loaded from DB | 20080717 | ||
| 10 | Instance attribute | Private | Type reference (TYPE) | SPIMETRICNAME | SPI: Metric Name | 20070430 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | SPIPROCTP | SPI: Process Type ID | 20070430 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20070430 | |
| 2 | Static method | Private | Method | Determine Time Difference in Seconds | 20080721 | |
| 3 | Instance method | Private | Method | Incremented Event Counter, Called by ~IS_CUTOFF_REACHED | 20080731 |
Events
Class CL_SPI_METRIC_ADMIN has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | ST_EV_COUNTER | Private | See coding | 20080721 | begin of st_ev_counter,
origtime type spiorigstmp,
counter type spimaxrep,
end of st_ev_counter
|
||
| 2 | TT_EV_COUNTER | Private | See coding | 20080721 | tt_ev_counter type standard table of st_ev_counter
|
||
| 3 | TT_TIME_RANGE | Private | Attribute reference (LIKE) | 20070430 | |
||
| 4 | TT_VALUE_RANGE | Private | Attribute reference (LIKE) | 20070430 | |
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_METRIC_NAME | Call by reference | Type reference (TYPE) | SPIMETRICNAME | SPI: Metrikname | 20070430 | |||
| 2 | IP_PROCESS_TYPE | Call by reference | Type reference (TYPE) | SPIPROCTP | SPI: ID eines Prozesstypen | 20070430 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler im Zugriff auf Administrationsdaten | 20070430 | ||
| 2 | Ausnahme aufgrund fehlender Berechtigung | 20070430 |
Method GET_TIME_DIFF_SEC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_TIMEFROM | Call by reference | Type reference (TYPE) | TIMESTAMPL | Zeit von | 20080721 | |||
| 2 | IP_TIMETO | Call by reference | Type reference (TYPE) | TIMESTAMPL | Zeit bis | 20080721 | |||
| 3 | RP_RESULT | Value transfer | Type reference (TYPE) | I | Zeitdifferenz in Sekunden | 20080721 |
Method GET_TIME_DIFF_SEC on class CL_SPI_METRIC_ADMIN has no exception.
Method INCREMENT_CUTOFF_COUNTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_ORIGTIME | Call by reference | Type reference (TYPE) | SPIORIGSTMP | SPI: Anlegezeitstempel | 20080909 |
Method INCREMENT_CUTOFF_COUNTER on class CL_SPI_METRIC_ADMIN has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 700 |