SAP ABAP Class CL_SYB_HADR (SYB: DBMS Utilities)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DB-SYB (Application Component) Sybase ASE Database Platform
     SMSYB (Package) SYBASE Database Monitor
Properties
Class CL_SYB_HADR  
Short Description SYB: DBMS Utilities    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SMSYB   SYBASE Database Monitor 
Created 20130802   SAP 
Last change 20141121    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SYB_HADR has no interface implemented.
Friends
Class CL_SYB_HADR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CONFIG Instance attribute Private Type reference (TYPE) SYBHADR_CONFIG_TAB SYB: Table of SYBHADR_CONFIG 20130802
2 CONNECTED_TO_PRIMARY Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_UNDEFINED 20130910
3 DATABASES Instance attribute Private Type reference (TYPE) DBA_STRING_TAB DBA Cockpit: Table of DBA_STRING_STRUC 20130909
4 SITENAMES Instance attribute Private Type reference (TYPE) DBA_STRING_TAB DBA Cockpit: Table of DBA_STRING_STRUC 20130802
5 SYB_DB_REF Instance attribute Private Object reference (TYPE REF TO) CL_SYB_DATABASE SYB: Current Database 20130802
6 SYS_REF Instance attribute Private Object reference (TYPE REF TO) CL_DB6_SYS DB6: Remote System Administration 20130802
7 VERSIONS Instance attribute Private Type reference (TYPE) SYBHADR_VERSION_TAB SYB: Table of SYBHADR_VERSION 20130802
8 _INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_SYB_HADR SYB: DBMS Utilities 20130802
Methods
# Method Level Visibility Method type Description Created on
1 CONNECTED_TO_HADR_PRIMARY Instance method Public Method 20130910
2 CONSTRUCTOR Instance method Private Constructor CONSTRUCTOR 20130802
3 FORMAT_LATENCY_NICELY Static method Public Method 20130910
4 GET_COMPONENT_VERSIONS Instance method Public Method 20130802
5 GET_CONFIG Instance method Public Method 20130802
6 GET_DATABASES Instance method Public Method 20130909
7 GET_INSTANCE Static method Public Method 20130802
8 GET_MEMBER_SPID_LIST Static method Public Method 20130822
9 GET_SAP_SID Instance method Public Method 20130802
10 GET_SITENAMES Instance method Public Method 20130802
11 GET_SITE_PROPERTY Instance method Public Method 20130802
Events
Class CL_SYB_HADR has no event.
Types
Class CL_SYB_HADR has no local type.
Method Signatures

Method CONNECTED_TO_HADR_PRIMARY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IS_PRIMARY Value transfer Type reference (TYPE) ABAP_BOOL 20130910
2 Importing REVALIDATE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20130910
# Exception Resumable Description Created on
1 CX_DBA_ADBC DBA Cockpit: ADBC Errors 20130910

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SYSTEM Call by reference Object reference (TYPE REF TO) CL_DB6_SYS DB6: Remote System Administration 20130802
# Exception Resumable Description Created on
1 CX_DBA_ADBC DBA Cockpit: ADBC Errors 20130802
2 CX_DBA_DATABASE DBA Cockpit: Root exception class 20130802

Method FORMAT_LATENCY_NICELY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting LATENCY_FMT Call by reference Type reference (TYPE) STRING 20130910
2 Importing LATENCY_MS Call by reference Type reference (TYPE) I 20130910
3 Exporting UNIT Value transfer Type reference (TYPE) STRING 20130910

Method FORMAT_LATENCY_NICELY on class CL_SYB_HADR has no exception.

Method GET_COMPONENT_VERSIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FORCE_RELOAD Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20130905
2 Returning VERSIONS Value transfer Type reference (TYPE) SYBHADR_VERSION_TAB SYB: Table of SYBHADR_VERSION 20130802
# Exception Resumable Description Created on
1 CX_DBA_ADBC DBA Cockpit: ADBC Errors 20130802

Method GET_CONFIG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning CONFIG Value transfer Type reference (TYPE) SYBHADR_CONFIG_TAB SYB: Table of SYBHADR_CONFIG 20130802
# Exception Resumable Description Created on
1 CX_DBA_ADBC DBA Cockpit: ADBC Errors 20130802

Method GET_DATABASES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning DATABASES Value transfer Type reference (TYPE) DBA_STRING_TAB DBA Cockpit: Table of DBA_STRING_STRUC 20130909

Method GET_DATABASES on class CL_SYB_HADR has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning INSTANCE Value transfer Object reference (TYPE REF TO) CL_SYB_HADR SYB: DBMS Utilities 20130802
2 Importing SYSTEM Call by reference Object reference (TYPE REF TO) CL_DB6_SYS DB6: Remote System Administration 20130802
# Exception Resumable Description Created on
1 CX_DBA_ADBC DBA Cockpit: ADBC Errors 20130802
2 CX_DBA_DATABASE DBA Cockpit: DB Exceptions 20130802

Method GET_MEMBER_SPID_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MEMBER Call by reference Type reference (TYPE) SYBMON_HADRMEMBERS 20130822
2 Returning SPIDS Value transfer Type reference (TYPE) SYBMON_PROCESSLOOKUP_TAB 20130822
3 Importing SYS_REF Call by reference Object reference (TYPE REF TO) CL_DB6_SYS 20130822

Method GET_MEMBER_SPID_LIST on class CL_SYB_HADR has no exception.

Method GET_SAP_SID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SAP_SID Value transfer Type reference (TYPE) SYSYSID Name of SAP System 20130802

Method GET_SAP_SID on class CL_SYB_HADR has no exception.

Method GET_SITENAMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SITENAMES Value transfer Type reference (TYPE) DBA_STRING_TAB DBA Cockpit: Table of DBA_STRING_STRUC 20130802
# Exception Resumable Description Created on
1 CX_DBA_ADBC DBA Cockpit: ADBC Errors 20130802
2 CX_DBA_RDI DBA-RDI: General Back-end Error 20130802

Method GET_SITE_PROPERTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PROPERTY Call by reference Type reference (TYPE) CLIKE 20130802
2 Importing SITENAME Call by reference Type reference (TYPE) CLIKE SYB: Server Name 20130802
3 Returning VALUE Value transfer Type reference (TYPE) SYBSRVNAME SYB: Server Name 20130802

Method GET_SITE_PROPERTY on class CL_SYB_HADR has no exception.
History
Last changed by/on SAP  20141121 
SAP Release Created in 740