SAP ABAP Class CL_SKWF_PROPERTIES_CACHE (INTERNAL: Properties Cache)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-KPR-DMF (Application Component) Document Management Framework
     SKWF (Package) SAP Knowledge Warehouse Framework
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SKWF_CACHING INTERNAL: Cache Layer Core Functions 20000720
Properties
Class CL_SKWF_PROPERTIES_CACHE  
Short Description INTERNAL: Properties Cache    
Super Class CL_SKWF_CACHING INTERNAL: Cache Layer Core Functions 
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SKWF   SAP Knowledge Warehouse Framework 
Created 20000720   SAP 
Last change 20001201   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_ABAP_TABLEDESCR Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 CL_SKWF_UTILITIES Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 SDOKM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SKWF_PROPERTIES_CACHE has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_SKWF_CACHING 20000928 INTERNAL: Cache Layer Core Functions
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_HIGH_WATER_MARK Constant Private Type reference (TYPE) I 500000 Maximum Cache Size in Bytes 20000724
2 C_LOW_WATER_MARK Constant Private Type reference (TYPE) I 250000 Displacement Size of Cache 20000724
3 C_MINUTES_TO_HALF_ACCESS_COUNT Constant Private Type reference (TYPE) I 360 Number of Minutes Before Access Count is Halved 20010110
4 C_SYNC_LATENCY Constant Private Type reference (TYPE) I 15 Latency Time to Sync. 20010110
5 C_X_CACHING Constant Private Type reference (TYPE) XFELD 'X' Cache Default 20000926
6 G_CACHE Static Attribute Public Object reference (TYPE REF TO) CL_SKWF_PROPERTIES_CACHE Cache Singleton 20000721
7 M_CACHE_ENTRIES Instance attribute Private Type reference (TYPE) AREA_CACHE_TAB_T List of Cache Entries 20000720
8 M_CLASS_ATTR_PROPS Instance attribute Private Type reference (TYPE) CLASS_ATTR_PROPS_TAB_T Cache for Class Attributes 20001030
Methods
# Method Level Visibility Method type Description Created on
1 ADD_PROPERTIES Static method Public Method Set Properties in Cache 20000720
2 ADD_PROPERTIES_OF_AREA Instance method Public Method Set Properties in Cache 20001013
3 CHECK_CACHE_SIZE Instance method Private Method Check Size of Cache and if Necessary Delete Old Entries 20000724
4 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20000720
5 CONSTRUCTOR Instance method Public Constructor Constructor 20000926
6 FIND_AREAS_OF_OBJECTS Static method Private Method Assigns the Cache Area to a List of Objects 20001013
7 FORCE_SYNC Static method Public Method Force Sync. with DB 20010109
8 GET_ENTRY_SIZE Static method Private Method Determine Size of a Cache Entry 20001016
9 GET_PROPERTIES Static method Public Method Get Properties from Cache 20000720
10 GET_PROPERTIES_OF_AREA Instance method Public Method Get Properties from Cache 20001013
11 INVALIDATE_SUBCLASS_CACHE Static method Protected Method Invalidate Cache for this Subclass 20000721
12 PROPERTY_CACHABLE Instance method Private Method Can the Property Be Cached? 20001029
13 SYNC_DIRTY_CACHES Static method Protected Method Synchronize Cache and DB 20001020
Events
Class CL_SKWF_PROPERTIES_CACHE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 AREA_CACHE_ENTRY_T Private See coding AREA_CACHE_ENTRY_T 20001029
2 AREA_CACHE_TAB_T Private See coding AREA_CACHE_TAB_T 20001029
3 AREA_OBJECT_ENTRY_T Private See coding AREA_OBJECT_ENTRY_T 20001029
4 AREA_OBJECT_TAB_T Private See coding AREA_OBJECT_TAB_T 20001029
5 AREA_TAB_T Private See coding AREA_TAB_T 20001029
6 CACHE_ENTRY_T Private See coding CACHE_ENTRY_T 20001029
7 CACHE_TAB_T Private See coding CACHE_TAB_T 20001029
Method Signatures

Method ADD_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_OBJECTS Call by reference Type reference (TYPE) SDOKOBJECTS KPro-Objekte 20010306
2 Importing P_PROPERTIES_REQUEST Call by reference Type reference (TYPE) SDOKPROPTNS List von Attributnamen (als Struktur) 20010305
3 Importing P_PROPERTIES_RESULT Call by reference Type reference (TYPE) SDOKPROPTLS Liste von Attributausprägungen von Objekten 20010305
4 Importing P_X_COMPLETE Call by reference Type reference (TYPE) XFELD X: Liste enthält alle Properties der angegebenen Objekte 20000720

Method ADD_PROPERTIES on class CL_SKWF_PROPERTIES_CACHE has no exception.

Method ADD_PROPERTIES_OF_AREA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_AREA Call by reference Type reference (TYPE) SHBUFAREA Cache-Abgrenzung 20001013
2 Importing P_OBJECTS Call by reference Type reference (TYPE) SDOKOBJECTS KPro Objekte 20010306
3 Importing P_PROPERTIES_REQUEST Call by reference Type reference (TYPE) SDOKPROPTNS List von Attributnamen (als Struktur) 20010305
4 Importing P_PROPERTIES_RESULT Call by reference Type reference (TYPE) SDOKPROPTLS Liste von Attributausprägungen von Objekten 20010305
5 Importing P_X_COMPLETE Call by reference Type reference (TYPE) XFELD X: Liste enthält alle Properties der angegebenen Objekte 20001013

Method ADD_PROPERTIES_OF_AREA on class CL_SKWF_PROPERTIES_CACHE has no exception.

Method CHECK_CACHE_SIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_CACHE Call by reference Type reference (TYPE) CACHE_TAB_T Cache-Bereich 20001016
2 Changing P_SIZE Call by reference Type reference (TYPE) I Cache-Größe 20001016
# Exception Resumable Description Created on
1 CACHE_SHRINKED Einträge wurden verdrängt 20001013

Method CLASS_CONSTRUCTOR Signature

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

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_SKWF_PROPERTIES_CACHE has no parameter.
Method CONSTRUCTOR on class CL_SKWF_PROPERTIES_CACHE has no exception.

Method FIND_AREAS_OF_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_AREAS Call by reference Type reference (TYPE) AREA_TAB_T Tabelle mit Areas 20001013
2 Changing P_AREA_OBJECTS Call by reference Type reference (TYPE) AREA_OBJECT_TAB_T Tabelle mit IOs und ihrer Cache-Area 20001013
3 Importing P_OBJECTS Call by reference Type reference (TYPE) SDOKOBJECTS Tabelle mit Info Objekten 20001013
4 Importing P_X_RELATED_AREAS Call by reference Type reference (TYPE) XFELD 'X' --> verwandte Areas berücksichtigen 20010814

Method FIND_AREAS_OF_OBJECTS on class CL_SKWF_PROPERTIES_CACHE has no exception.

Method FORCE_SYNC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_IOS Call by reference Type reference (TYPE) SKWF_IOS Objektliste 20010109

Method FORCE_SYNC on class CL_SKWF_PROPERTIES_CACHE has no exception.

Method GET_ENTRY_SIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENTRY Call by reference Type reference (TYPE) CACHE_ENTRY_T 20001016
2 Returning P_SIZE Value transfer Type reference (TYPE) I 20001016

Method GET_ENTRY_SIZE on class CL_SKWF_PROPERTIES_CACHE has no exception.

Method GET_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_OBJECTS Call by reference Type reference (TYPE) SDOKOBJECTS Objektliste 20000720
2 Changing P_OBJS_NOT_FULLY_HANDLED Call by reference Type reference (TYPE) SDOKOBJECTS Objektliste 20000720
3 Importing P_PROPERTIES_REQUEST Call by reference Type reference (TYPE) SDOKPROPTNS Liste von Attributnamen 20000720
4 Changing P_PROPERTIES_RESULT Call by reference Type reference (TYPE) SDOKPROPTLS Liste von Attributausprägungen von Objekten 20000720

Method GET_PROPERTIES on class CL_SKWF_PROPERTIES_CACHE has no exception.

Method GET_PROPERTIES_OF_AREA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_AREA Call by reference Type reference (TYPE) SHBUFAREA Cache-Abgrenzung 20001013
2 Importing P_OBJECTS Call by reference Type reference (TYPE) SDOKOBJECTS Objektliste 20001013
3 Changing P_OBJS_NOT_FULLY_HANDLED Call by reference Type reference (TYPE) SDOKOBJECTS Objektliste 20001013
4 Importing P_PROPERTIES_REQUEST Call by reference Type reference (TYPE) SDOKPROPTNS Liste von Attributnamen 20001013
5 Changing P_PROPERTIES_RESULT Call by reference Type reference (TYPE) SDOKPROPTLS Liste von Attributausprägungen von Objekten 20001013

Method GET_PROPERTIES_OF_AREA on class CL_SKWF_PROPERTIES_CACHE has no exception.

Method INVALIDATE_SUBCLASS_CACHE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CHANGED_FOLDERS Call by reference Type reference (TYPE) SKWF_IOS Verzeichnisse mit geändertem Inhalt 20000928
2 Importing P_CHANGED_OBJECTS Call by reference Type reference (TYPE) SKWF_IOS Objektliste 20000721
3 Importing P_DELETED_OBJECTS Call by reference Type reference (TYPE) SKWF_IOS Objektliste 20000721

Method INVALIDATE_SUBCLASS_CACHE on class CL_SKWF_PROPERTIES_CACHE has no exception.

Method PROPERTY_CACHABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CLASS Call by reference Type reference (TYPE) SDOK_CLASS Dokumentenklasse 20001029
2 Importing P_PROPERTY Call by reference Type reference (TYPE) SDOK_PROPN Attribut eines Dokuments oder einer Beziehung 20001029
3 Returning P_X_CACHABLE Value transfer Type reference (TYPE) XFELD 'X': Property darf gecached werden 20001030
# Exception Resumable Description Created on
1 NOT_MODELLED Property für diese Klasse nicht modelliert 20001029

Method SYNC_DIRTY_CACHES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_X_FORCE Call by reference Type reference (TYPE) XFELD Unabhängig von Latenz abgleichen 20001020
2 Importing P_X_NO_LOCK Call by reference Type reference (TYPE) XFELD Keine Sperren setzen (muß außerhalb geschehen!) 20001020

Method SYNC_DIRTY_CACHES on class CL_SKWF_PROPERTIES_CACHE has no exception.
History
Last changed by/on SAP  20001201 
SAP Release Created in 50A