SAP ABAP Class SRCT_SHM_ABAP_MEMORY_SETTINGS (SRCT: shared buffer for ABAP memory settings)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-SC (Application Component) UI Services, Screen, Batch Input
⤷
SRCTP (Package) Remote controlled transaction processing
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_SHM_AREA | Shared Memory: General Area Handle | 20070219 |
Properties
| Class | SRCT_SHM_ABAP_MEMORY_SETTINGS | |
| Short Description | SRCT: shared buffer for ABAP memory settings | |
| Super Class | CL_SHM_AREA | Shared Memory: General Area Handle |
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 45 | Area Class (Shared Objects) |
| Package | SRCTP | Remote controlled transaction processing |
| Created | 20070219 | SAP |
| Last change | 20071217 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class SRCT_SHM_ABAP_MEMORY_SETTINGS has no forward declaration.
Interfaces
Class SRCT_SHM_ABAP_MEMORY_SETTINGS has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_SHM_AREA | 20070219 | Shared Memory: General Area Handle |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | SHM_AREA_NAME | 'SRCT_SHM_ABAP_MEMORY_SETTINGS' | Name of an Area Class | 20070219 | ||
| 2 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_SRCT_SHM_ABAP_MEMORY | SHM: Model of a Data Class | 20070219 | |||
| 3 | Constant | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20070219 | |||
| 4 | Constant | Private | Type reference (TYPE) | SHM_LIFE_CONTEXT | CL_SHM_AREA=>LIFE_CONTEXT_SESSION | Lifetime of an Area (Constants in CL_SHM_AREA) | 20070219 | ||
| 5 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | (Internal) Flag: Trace Active? | 20070219 | ||
| 6 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_SHM_TRACE | (Internal) Reference to Trace Class | 20070219 | |||
| 7 | Constant | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20070219 | |||
| 8 | Constant | Private | Type reference (TYPE) | I | 18 | (internal) | 20070219 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Request a Read Lock | 20070219 | |
| 2 | Static method | Public | Method | Request a Change Lock | 20070219 | |
| 3 | Static method | Public | Method | Request a Write Lock | 20070219 | |
| 4 | Static method | Public | Method | Direct Call of Area Constructor | 20070219 | |
| 5 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20070219 | |
| 6 | Static method | Public | Method | Release all locks on all instances | 20070219 | |
| 7 | Static method | Public | Method | Delete all instances | 20070219 | |
| 8 | Static method | Public | Method | Deletion of an Instance | 20070219 | |
| 9 | Static method | Public | Method | Query Generator Version | 20070219 | |
| 10 | Static method | Public | Method | Returns the names of all instances | 20070219 | |
| 11 | Static method | Public | Method | Active versions of all instances will be set to obsolete | 20070219 | |
| 12 | Static method | Public | Method | Active version of one instance will be set to obsolete | 20070219 | |
| 13 | Instance method | Public | Method | Sets Root Objects | 20070219 |
Events
Class SRCT_SHM_ABAP_MEMORY_SETTINGS has no event.
Types
Class SRCT_SHM_ABAP_MEMORY_SETTINGS has no local type.
Method Signatures
Method ATTACH_FOR_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HANDLE | Value transfer | Object reference (TYPE REF TO) | SRCT_SHM_ABAP_MEMORY_SETTINGS | SHM: Model of an Area Class | 20070219 | |||
| 2 | INST_NAME | Call by reference | Type reference (TYPE) | SHM_INST_NAME | CL_SHM_AREA=>DEFAULT_INSTANCE | Name of a Shared Object Instance of an Area | 20070219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | A Change Lock Is Already Active | 20070219 | ||
| 2 | Instance Already Locked | 20070219 | ||
| 3 | Different Definitions Between Program and Area | 20070219 | ||
| 4 | No active version exists for an attach | 20070219 | ||
| 5 | Incorrect parameter transferred | 20070219 | ||
| 6 | Request for a Second Read Lock | 20070219 |
Method ATTACH_FOR_UPDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTACH_MODE | Call by reference | Type reference (TYPE) | SHM_ATTACH_MODE | CL_SHM_AREA=>ATTACH_MODE_DEFAULT | Mode of ATTACH (Constants in CL_SHM_AREA) | 20070219 | ||
| 2 | HANDLE | Value transfer | Object reference (TYPE REF TO) | SRCT_SHM_ABAP_MEMORY_SETTINGS | SHM: Model of an Area Class | 20070219 | |||
| 3 | INST_NAME | Call by reference | Type reference (TYPE) | SHM_INST_NAME | CL_SHM_AREA=>DEFAULT_INSTANCE | Name of a Shared Object Instance of an Area | 20070219 | ||
| 4 | WAIT_TIME | Call by reference | Type reference (TYPE) | I | 0 | Maximum Wait Time (in Milliseconds) | 20070219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | A write lock is already active | 20070219 | ||
| 2 | Instance Already Locked | 20070219 | ||
| 3 | Different Definitions Between Program and Area | 20070219 | ||
| 4 | No active version exists for an attach | 20070219 | ||
| 5 | Passed Parameter Has Incorrect Value | 20070219 | ||
| 6 | Shared Objects: Waiting Lock Was Deleted | 20070219 | ||
| 7 | No Additional Versions Available | 20070219 |
Method ATTACH_FOR_WRITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTACH_MODE | Call by reference | Type reference (TYPE) | SHM_ATTACH_MODE | CL_SHM_AREA=>ATTACH_MODE_DEFAULT | Mode of ATTACH (Constants in CL_SHM_AREA) | 20070219 | ||
| 2 | HANDLE | Value transfer | Object reference (TYPE REF TO) | SRCT_SHM_ABAP_MEMORY_SETTINGS | SHM: Model of an Area Class | 20070219 | |||
| 3 | INST_NAME | Call by reference | Type reference (TYPE) | SHM_INST_NAME | CL_SHM_AREA=>DEFAULT_INSTANCE | Name of a Shared Object Instance of an Area | 20070219 | ||
| 4 | WAIT_TIME | Call by reference | Type reference (TYPE) | I | 0 | Maximum Wait Time (in Milliseconds) | 20070219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | A write lock is already active | 20070219 | ||
| 2 | Instance Already Locked | 20070219 | ||
| 3 | Passed Parameter Has Incorrect Value | 20070219 | ||
| 4 | Shared Objects: Waiting Lock Was Deleted | 20070219 | ||
| 5 | No Additional Versions Available | 20070219 |
Method BUILD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INST_NAME | Call by reference | Type reference (TYPE) | SHM_INST_NAME | CL_SHM_AREA=>DEFAULT_INSTANCE | Name of a Shared Object Instance of an Area | 20070219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SHM Administration: Inconsistent Attribute Combination | 20070219 | ||
| 2 | SHM Administration: Area Property Is Not Configured | 20070219 | ||
| 3 | Constructor Run Failed | 20070219 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class SRCT_SHM_ABAP_MEMORY_SETTINGS has no parameter.
Method CLASS_CONSTRUCTOR on class SRCT_SHM_ABAP_MEMORY_SETTINGS has no exception.
Method DETACH_AREA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RC | Value transfer | Type reference (TYPE) | SHM_RC | Detach Return Value (Constants in CL_SHM_AREA) | 20070219 |
Method DETACH_AREA on class SRCT_SHM_ABAP_MEMORY_SETTINGS has no exception.
Method FREE_AREA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RC | Value transfer | Type reference (TYPE) | SHM_RC | Return Value (Constants in CL_SHM_AREA) | 20070219 | |||
| 2 | TERMINATE_CHANGER | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Writing processes will be ended | 20070219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Incorrect parameter transferred | 20070219 |
Method FREE_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INST_NAME | Call by reference | Type reference (TYPE) | SHM_INST_NAME | CL_SHM_AREA=>DEFAULT_INSTANCE | Name of a Shared Object Instance of an Area | 20070219 | ||
| 2 | RC | Value transfer | Type reference (TYPE) | SHM_RC | Return Value (Constants in CL_SHM_AREA) | 20070219 | |||
| 3 | TERMINATE_CHANGER | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Writing processes will be ended | 20070219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Incorrect parameter transferred | 20070219 |
Method GET_GENERATOR_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | GENERATOR_VERSION | Value transfer | Type reference (TYPE) | I | 20070219 |
Method GET_GENERATOR_VERSION on class SRCT_SHM_ABAP_MEMORY_SETTINGS has no exception.
Method GET_INSTANCE_INFOS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INFOS | Value transfer | Type reference (TYPE) | SHM_INST_INFOS | Overview of all Instances of an SHM Area | 20070219 |
Method GET_INSTANCE_INFOS on class SRCT_SHM_ABAP_MEMORY_SETTINGS has no exception.
Method INVALIDATE_AREA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RC | Value transfer | Type reference (TYPE) | SHM_RC | Detach Return Value (Constants in CL_SHM_AREA) | 20070219 | |||
| 2 | TERMINATE_CHANGER | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Active writing processes will be ended | 20070219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Incorrect parameter transferred | 20070219 |
Method INVALIDATE_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INST_NAME | Call by reference | Type reference (TYPE) | SHM_INST_NAME | CL_SHM_AREA=>DEFAULT_INSTANCE | Name of a Shared Object Instance of an Area | 20070219 | ||
| 2 | RC | Value transfer | Type reference (TYPE) | SHM_RC | Detach Return Value (Constants in CL_SHM_AREA) | 20070219 | |||
| 3 | TERMINATE_CHANGER | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Active writing processes will be ended | 20070219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Incorrect parameter transferred | 20070219 |
Method SET_ROOT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ROOT | Call by reference | Object reference (TYPE REF TO) | CL_SRCT_SHM_ABAP_MEMORY | Root object | 20070219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Initial Reference Passed | 20070219 | ||
| 2 | Incorrect Handle | 20070219 |
History
| Last changed by/on | SAP | 20071217 |
| SAP Release Created in | 710 |