SAP ABAP Class CL_BUFFER_SYNC (Monitor functions for buffer sync)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DB-DBI (Application Component) DB-Independent Database Interface
     SBUF (Package) Table Buffers
Properties
Class CL_BUFFER_SYNC  
Short Description Monitor functions for buffer sync    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SBUF   Table Buffers 
Created 20120706   SAP 
Last change 20130531   SAP 
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_BUFFER_SYNC has no interface implemented.
Friends
Class CL_BUFFER_SYNC has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_MODE_DEL Constant Public Type reference (TYPE) SYNC_STRUC-MODE 2 20120706
2 GC_MODE_DEL_HERE Constant Public Type reference (TYPE) SYNC_STRUC-MODE 7 20120706
3 GC_MODE_FREE_HERE Constant Public Type reference (TYPE) SYNC_STRUC-MODE 3 20120706
4 GC_MODE_FREE_WORLD Constant Public Type reference (TYPE) SYNC_STRUC-MODE 4 20120706
5 GC_MODE_INS Constant Public Type reference (TYPE) SYNC_STRUC-MODE 0 20120706
6 GC_MODE_INV_HERE Constant Public Type reference (TYPE) SYNC_STRUC-MODE 5 20120706
7 GC_MODE_INV_WORLD Constant Public Type reference (TYPE) SYNC_STRUC-MODE 6 20120706
8 GC_MODE_UPD Constant Public Type reference (TYPE) SYNC_STRUC-MODE 1 20120706
9 GC_MODE_UPS Constant Public Type reference (TYPE) SYNC_STRUC-MODE '8' 20120706
10 GC_SCLASS_ABLD Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 5 20120706
11 GC_SCLASS_ABTX Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 6 20120706
12 GC_SCLASS_ABTY Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 12 20120706
13 GC_SCLASS_ALL Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 16 All buffers 20120706
14 GC_SCLASS_CALE Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 2 Calendar Buffer 20120706
15 GC_SCLASS_CUA Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 10 CUA Buffer 20120706
16 GC_SCLASS_DYLD Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 8 20120706
17 GC_SCLASS_DYTX Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 9 20120706
18 GC_SCLASS_ESM Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 15 Export/Import Memory 20120706
19 GC_SCLASS_NTAB Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 4 Name Tab Buffer 20120706
20 GC_SCLASS_OBJ Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 14 Export/Import Buffer 20120706
21 GC_SCLASS_OTR Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 13 20120706
22 GC_SCLASS_PKRT Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 0 20120706
23 GC_SCLASS_SHO Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 1 Shared Objects 20120706
24 GC_SCLASS_SPEC Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 11 20120706
25 GC_SCLASS_TABP Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 7 20120706
26 GC_SCLASS_TABR Constant Public Type reference (TYPE) SYNC_STRUC-CLASS 3 Generic Key Buffer 20120706
27 GT_SYNC_CLASSES Static Attribute Private See coding 20120706
28 GT_SYNC_MODES Static Attribute Private See coding 20120706
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20120706
2 COMP_TIME_SINCE_LAST_SYNC Static method Private Method 20120718
3 DB2_TS_TO_C14_TS Static method Private Method 20120725
4 GET_BUFREFTIME Static method Private Method 20120718
5 GET_MODE_NAME Static method Public Method 20120706
6 GET_SCLASS_NAME Static method Public Method 20120706
7 GET_SYNC_STATUS Static method Public Method 20120718
8 SELECT_DDLOG_INFO Static method Public Method 20120726
9 SELECT_OPEN_SYNC_CNT Static method Public Method 20120726
10 SYNCHRONIZE Static method Public Method 20120726
11 SYNC_CONCEPT_IS_SEQ Static method Public Method 20120706
12 SYNC_CONCEPT_IS_TS Static method Public Method 20120706
13 WRITE_SYNC_REQUEST Static method Public Method 20120912
Events
Class CL_BUFFER_SYNC has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_SYNC_STATUS Public See coding 20120718 begin of GTY_SYNC_STATUS, bufreftime type i, sendon type flag, last_sync_seq_no type ddlog-seqnumber, last_sync_ts type ddlog-timestamp, time_of_last_sync type rstbxtime, time_of_last_del type rstbxtime, time_since_last_sync type i, max_sync_interval type i, gap_cnt type i, oldest_gap_seq_no type ddlog-seqnumber, oldest_gap_ts type rstbxtime, discarded_gap_cnt type i, interfered_sync_cnt type i, sync_calls type i, ddlog_cnt type i, request_cnt type i, end of GTY_SYNC_STATUS
Method Signatures

Method CLASS_CONSTRUCTOR Signature

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

Method COMP_TIME_SINCE_LAST_SYNC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TIME_OF_LAST_SYNC Call by reference Type reference (TYPE) RSTBXTIME Statistikdatenelement für RSDBBUFF 20120718
2 Returning RV_TIME_SINCE_LAST_SYNC Value transfer Type reference (TYPE) I 20120718

Method COMP_TIME_SINCE_LAST_SYNC on class CL_BUFFER_SYNC has no exception.

Method DB2_TS_TO_C14_TS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_C14_TS Call by reference Type reference (TYPE) RSTBXTIME Statistikdatenelement für RSDBBUFF 20120725
2 Importing IV_DB2_TS Call by reference Type reference (TYPE) DDLOG-TIMESTAMP 20120725

Method DB2_TS_TO_C14_TS on class CL_BUFFER_SYNC has no exception.

Method GET_BUFREFTIME Signature

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

Method GET_BUFREFTIME on class CL_BUFFER_SYNC has no exception.

Method GET_MODE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MODE Call by reference Type reference (TYPE) SYNC_STRUC-MODE Synchronisation mode 20120706
2 Returning RV_MODE_NAME Value transfer Type reference (TYPE) RSTBXC04 Mode name 20120706

Method GET_MODE_NAME on class CL_BUFFER_SYNC has no exception.

Method GET_SCLASS_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SCLASS Call by reference Type reference (TYPE) SYNC_STRUC-CLASS Synchronisation class 20120706
2 Returning RV_SCLASS_NAME Value transfer Type reference (TYPE) SYNC_CLASS_S Name of sync class 20120706

Method GET_SCLASS_NAME on class CL_BUFFER_SYNC has no exception.

Method GET_SYNC_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_STATUS Call by reference Type reference (TYPE) GTY_SYNC_STATUS 20120718

Method GET_SYNC_STATUS on class CL_BUFFER_SYNC has no exception.

Method SELECT_DDLOG_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_MAX_TS Call by reference Type reference (TYPE) RSTBXTIME Timestamp of newest DDLOG entry 20120726
2 Exporting EV_MIN_TS Call by reference Type reference (TYPE) RSTBXTIME Timestamp of oldest DDLOG entry 20120726
3 Exporting EV_ROW_CNT Call by reference Type reference (TYPE) I Number of rows currently contained in DDLOG 20120726

Method SELECT_DDLOG_INFO on class CL_BUFFER_SYNC has no exception.

Method SELECT_OPEN_SYNC_CNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_STATUS Call by reference Type reference (TYPE) GTY_SYNC_STATUS Synchronisation status 20120726
2 Returning RV_CNT Value transfer Type reference (TYPE) I Number of open sync records 20120726

Method SELECT_OPEN_SYNC_CNT on class CL_BUFFER_SYNC has no exception.

Method SYNCHRONIZE Signature

Method SYNCHRONIZE on class CL_BUFFER_SYNC has no parameter.
Method SYNCHRONIZE on class CL_BUFFER_SYNC has no exception.

Method SYNC_CONCEPT_IS_SEQ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RETURN Value transfer Type reference (TYPE) ABAP_BOOL 20120706

Method SYNC_CONCEPT_IS_SEQ on class CL_BUFFER_SYNC has no exception.

Method SYNC_CONCEPT_IS_TS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RETURN Value transfer Type reference (TYPE) ABAP_BOOL 20120706

Method SYNC_CONCEPT_IS_TS on class CL_BUFFER_SYNC has no exception.

Method WRITE_SYNC_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_KEY Call by reference Type reference (TYPE) RSGENKEY SPACE Generischer Schlüssel 8-Byte aligned 20120912
2 Importing IV_MODE_NAME Call by reference Type reference (TYPE) RSTBXC04 'UPD' Mode Name 20120912
3 Importing IV_SCLASS_NAME Call by reference Type reference (TYPE) SYNC_CLASS_S Synchronisation class identifier 20120912
4 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME SPACE Tabellenname 20120912

Method WRITE_SYNC_REQUEST on class CL_BUFFER_SYNC has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 740