SAP ABAP Class CL_TREX_SERVER_MAP_SHMA (Shared-Memory Area for TREX Server Map)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-TRX-API (Application Component) TREX ABAP + JAVA API
     STREX (Package) TREX ABAP client
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 20060425
Properties
Class CL_TREX_SERVER_MAP_SHMA  
Short Description Shared-Memory Area for TREX Server Map    
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 STREX   TREX ABAP client 
Created 20060425   SAP 
Last change 20060703   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_TREX_SERVER_MAP_SHMA has no forward declaration.
Interfaces
Class CL_TREX_SERVER_MAP_SHMA has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_SHM_AREA 20060427 Shared Memory: General Area Handle
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 AREA_NAME Constant Public Type reference (TYPE) SHM_AREA_NAME 'CL_TREX_SERVER_MAP_SHMA' Name of an Area Class 20060425
2 ROOT Instance attribute Public Object reference (TYPE REF TO) CL_TREX_SERVER_MAP SHM: Model of a Data Class 20060425
3 _CLIENT_DEPENDENT Constant Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20060425
4 _TRACE_ACTIVE Static Attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE (Internal) Flag: Trace Active? 20060425
5 _TRACE_SERVICE Static Attribute Private Object reference (TYPE REF TO) IF_SHM_TRACE (Internal) Reference to Trace Class 20060425
6 _TRANSACTIONAL Constant Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20060425
7 _VERSION_ Constant Private Type reference (TYPE) I 16 (internal) 20060425
Methods
# Method Level Visibility Method type Description Created on
1 ATTACH_FOR_READ Static method Public Method Request a Read Lock 20060425
2 ATTACH_FOR_UPDATE Static method Public Method Request a Change Lock 20060425
3 ATTACH_FOR_WRITE Static method Public Method Request a Write Lock 20060425
4 BUILD Static method Public Method Direct Call of Area Constructor 20060425
5 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20060425
6 DETACH_AREA Static method Public Method Release all locks on all instances 20060425
7 FREE_AREA Static method Public Method Delete all instances 20060425
8 FREE_INSTANCE Static method Public Method Deletion of an Instance 20060425
9 GET_GENERATOR_VERSION Static method Public Method Query Generator Version 20060425
10 GET_INSTANCE_INFOS Static method Public Method Returns the names of all instances 20060425
11 INVALIDATE_AREA Static method Public Method Active versions of all instances will be set to obsolete 20060425
12 INVALIDATE_INSTANCE Static method Public Method Active version of one instance will be set to obsolete 20060425
13 SET_ROOT Instance method Public Method Sets Root Objects 20060425
Events
Class CL_TREX_SERVER_MAP_SHMA has no event.
Types
Class CL_TREX_SERVER_MAP_SHMA 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 Returning HANDLE Value transfer Object reference (TYPE REF TO) CL_TREX_SERVER_MAP_SHMA SHM: Model of an Area Class 20060425
2 Importing 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 20060425
# Exception Resumable Description Created on
1 CX_SHM_CHANGE_LOCK_ACTIVE A Change Lock Is Already Active 20060425
2 CX_SHM_EXCLUSIVE_LOCK_ACTIVE Instance Already Locked 20060425
3 CX_SHM_INCONSISTENT Different Definitions Between Program and Area 20060425
4 CX_SHM_NO_ACTIVE_VERSION No active version exists for an attach 20060425
5 CX_SHM_PARAMETER_ERROR Incorrect parameter transferred 20060425
6 CX_SHM_READ_LOCK_ACTIVE Request for a Second Read Lock 20060425

Method ATTACH_FOR_UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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) 20060425
2 Returning HANDLE Value transfer Object reference (TYPE REF TO) CL_TREX_SERVER_MAP_SHMA SHM: Model of an Area Class 20060425
3 Importing 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 20060425
4 Importing WAIT_TIME Call by reference Type reference (TYPE) I 0 Maximum Wait Time (in Milliseconds) 20060425
# Exception Resumable Description Created on
1 CX_SHM_CHANGE_LOCK_ACTIVE A write lock is already active 20060425
2 CX_SHM_EXCLUSIVE_LOCK_ACTIVE Instance Already Locked 20060425
3 CX_SHM_INCONSISTENT Different Definitions Between Program and Area 20060425
4 CX_SHM_NO_ACTIVE_VERSION No active version exists for an attach 20060425
5 CX_SHM_PARAMETER_ERROR Passed Parameter Has Incorrect Value 20060425
6 CX_SHM_PENDING_LOCK_REMOVED Shared Objects: Waiting Lock Was Deleted 20060425
7 CX_SHM_VERSION_LIMIT_EXCEEDED No Additional Versions Available 20060425

Method ATTACH_FOR_WRITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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) 20060425
2 Returning HANDLE Value transfer Object reference (TYPE REF TO) CL_TREX_SERVER_MAP_SHMA SHM: Model of an Area Class 20060425
3 Importing 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 20060425
4 Importing WAIT_TIME Call by reference Type reference (TYPE) I 0 Maximum Wait Time (in Milliseconds) 20060425
# Exception Resumable Description Created on
1 CX_SHM_CHANGE_LOCK_ACTIVE A write lock is already active 20060425
2 CX_SHM_EXCLUSIVE_LOCK_ACTIVE Instance Already Locked 20060425
3 CX_SHM_PARAMETER_ERROR Passed Parameter Has Incorrect Value 20060425
4 CX_SHM_PENDING_LOCK_REMOVED Shared Objects: Waiting Lock Was Deleted 20060425
5 CX_SHM_VERSION_LIMIT_EXCEEDED No Additional Versions Available 20060425

Method BUILD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 20060425
# Exception Resumable Description Created on
1 CX_SHMA_INCONSISTENT SHM Administration: Inconsistent Attribute Combination 20060425
2 CX_SHMA_NOT_CONFIGURED SHM Administration: Area Property Is Not Configured 20060425
3 CX_SHM_BUILD_FAILED Constructor Run Failed 20060425

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_TREX_SERVER_MAP_SHMA has no parameter.
Method CLASS_CONSTRUCTOR on class CL_TREX_SERVER_MAP_SHMA has no exception.

Method DETACH_AREA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RC Value transfer Type reference (TYPE) SHM_RC Detach Return Value (Constants in CL_SHM_AREA) 20060425

Method DETACH_AREA on class CL_TREX_SERVER_MAP_SHMA has no exception.

Method FREE_AREA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RC Value transfer Type reference (TYPE) SHM_RC Return Value (Constants in CL_SHM_AREA) 20060425
2 Importing TERMINATE_CHANGER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Writing processes will be ended 20060425
# Exception Resumable Description Created on
1 CX_SHM_PARAMETER_ERROR Incorrect parameter transferred 20060425

Method FREE_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 20060425
2 Returning RC Value transfer Type reference (TYPE) SHM_RC Return Value (Constants in CL_SHM_AREA) 20060425
3 Importing TERMINATE_CHANGER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Writing processes will be ended 20060425
# Exception Resumable Description Created on
1 CX_SHM_PARAMETER_ERROR Incorrect parameter transferred 20060425

Method GET_GENERATOR_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning GENERATOR_VERSION Value transfer Type reference (TYPE) I 20060425

Method GET_GENERATOR_VERSION on class CL_TREX_SERVER_MAP_SHMA has no exception.

Method GET_INSTANCE_INFOS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning INFOS Value transfer Type reference (TYPE) SHM_INST_INFOS Overview of all Instances of an SHM Area 20060425

Method GET_INSTANCE_INFOS on class CL_TREX_SERVER_MAP_SHMA has no exception.

Method INVALIDATE_AREA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RC Value transfer Type reference (TYPE) SHM_RC Detach Return Value (Constants in CL_SHM_AREA) 20060425
2 Importing TERMINATE_CHANGER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Active writing processes will be ended 20060425
# Exception Resumable Description Created on
1 CX_SHM_PARAMETER_ERROR Incorrect parameter transferred 20060425

Method INVALIDATE_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 20060425
2 Returning RC Value transfer Type reference (TYPE) SHM_RC Detach Return Value (Constants in CL_SHM_AREA) 20060425
3 Importing TERMINATE_CHANGER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Active writing processes will be ended 20060425
# Exception Resumable Description Created on
1 CX_SHM_PARAMETER_ERROR Incorrect parameter transferred 20060425

Method SET_ROOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ROOT Call by reference Object reference (TYPE REF TO) CL_TREX_SERVER_MAP Root object 20060425
# Exception Resumable Description Created on
1 CX_SHM_INITIAL_REFERENCE Initial Reference Passed 20060425
2 CX_SHM_WRONG_HANDLE Incorrect Handle 20060425
History
Last changed by/on SAP  20060703 
SAP Release Created in 710