SAP ABAP Class CL_SKWF_FOLDER_CACHE (INTERNAL: Folder 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 | 20000927 |
Properties
| Class | CL_SKWF_FOLDER_CACHE | |
| Short Description | INTERNAL: Folder 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 | 20000927 | SAP |
| Last change | 20001201 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SKWF_FOLDER_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 | Constant | Private | Type reference (TYPE) | I | 500000 | Maximum Cache Size in Bytes | 20000927 | ||
| 2 | Constant | Private | Type reference (TYPE) | I | 250000 | Displacement Size of Cache | 20000927 | ||
| 3 | Constant | Private | Type reference (TYPE) | I | 300 | Number of Hours Before Access Count is Halved | 20010110 | ||
| 4 | Constant | Private | Type reference (TYPE) | I | 15 | Sync. Latency (Seconds) | 20010110 | ||
| 5 | Constant | Private | Type reference (TYPE) | XFELD | 'X' | Cache Default | 20000927 | ||
| 6 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_SKWF_FOLDER_CACHE | Cache Singleton | 20000927 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | AREA_CACHE_TAB_T | List of Cache Entries | 20000927 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Check Size of Cache and if Necessary Delete Old Entries | 20000927 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20000927 | |
| 3 | Instance method | Public | Constructor | Constructor | 20000927 | |
| 4 | Static method | Public | Method | Force Sync. with DB | 20010109 | |
| 5 | Static method | Public | Method | Get Attached Directory Content from Cache | 20000927 | |
| 6 | Static method | Private | Method | Determine Size of a Cache Entry | 20001016 | |
| 7 | Static method | Public | Method | Get Linked Directory Content from the Cache | 20000927 | |
| 8 | Static method | Protected | Method | Invalidate Cache for this Subclass | 20000927 | |
| 9 | Static method | Public | Method | Set Attached Directory Content in Cache | 20000927 | |
| 10 | Static method | Public | Method | Set Linked Directory Content in Cache | 20000927 | |
| 11 | Static method | Protected | Method | Synchronize Cache and DB | 20001020 |
Events
Class CL_SKWF_FOLDER_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 | CACHE_ENTRY_T | Private | See coding | CACHE_ENTRY_T | 20001029 | |
|
| 4 | CACHE_TAB_T | Private | See coding | CACHE_TAB_T | 20001029 | |
Method Signatures
Method CHECK_CACHE_SIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_CACHE | Call by reference | Type reference (TYPE) | CACHE_TAB_T | Liste mit Cache-Einträgen | 20001011 | |||
| 2 | P_SIZE | Call by reference | Type reference (TYPE) | I | Cache-Größe | 20001016 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es wurden Einträge aus dem Cache verdrängt | 20001013 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_SKWF_FOLDER_CACHE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SKWF_FOLDER_CACHE has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SKWF_FOLDER_CACHE has no parameter.
Method CONSTRUCTOR on class CL_SKWF_FOLDER_CACHE has no exception.
Method FORCE_SYNC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_FOLDER | Call by reference | Type reference (TYPE) | SKWF_IO | KW Framework: Objektschlüssel | 20010109 |
Method FORCE_SYNC on class CL_SKWF_FOLDER_CACHE has no exception.
Method GET_ATTACHED_IOS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ATTACHED_IOS | Call by reference | Type reference (TYPE) | SKWF_IOS | Tabelle der 'attachted' IOs | 20000927 | |||
| 2 | P_FOLDER | Call by reference | Type reference (TYPE) | SKWF_IO | Verzeichnis | 20000927 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Verzeichnis noch nicht gecached | 20000927 |
Method GET_ENTRY_SIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ENTRY | Call by reference | Type reference (TYPE) | CACHE_ENTRY_T | 20001016 | ||||
| 2 | P_SIZE | Value transfer | Type reference (TYPE) | I | 20001016 |
Method GET_ENTRY_SIZE on class CL_SKWF_FOLDER_CACHE has no exception.
Method GET_LINKED_IOS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_FOLDER | Call by reference | Type reference (TYPE) | SKWF_IO | Verzeichnis | 20000927 | |||
| 2 | P_LINKED_IOS | Call by reference | Type reference (TYPE) | SDOKRELISTS | Tabelle der 'gelinkten' IOs | 20000927 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Verzeichnis noch nicht gecached | 20000927 |
Method INVALIDATE_SUBCLASS_CACHE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_CHANGED_FOLDERS | Call by reference | Type reference (TYPE) | SKWF_IOS | Verzeichnisse mit geändertem Inhalt | 20000928 | |||
| 2 | P_CHANGED_OBJECTS | Call by reference | Type reference (TYPE) | SKWF_IOS | Objektliste | 20000927 | |||
| 3 | P_DELETED_OBJECTS | Call by reference | Type reference (TYPE) | SKWF_IOS | Objektliste | 20000927 |
Method INVALIDATE_SUBCLASS_CACHE on class CL_SKWF_FOLDER_CACHE has no exception.
Method SET_ATTACHED_IOS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ATTACHED_IOS | Call by reference | Type reference (TYPE) | SKWF_IOS | Liste der 'attachten' IOs | 20000927 | |||
| 2 | P_FOLDER | Call by reference | Type reference (TYPE) | SKWF_IO | Verzeichnis | 20000927 |
Method SET_ATTACHED_IOS on class CL_SKWF_FOLDER_CACHE has no exception.
Method SET_LINKED_IOS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_FOLDER | Call by reference | Type reference (TYPE) | SKWF_IO | Verzeichnis | 20000927 | |||
| 2 | P_LINKED_IOS | Call by reference | Type reference (TYPE) | SDOKRELISTS | Liste der 'gelinkten' IOs | 20000927 |
Method SET_LINKED_IOS on class CL_SKWF_FOLDER_CACHE has no exception.
Method SYNC_DIRTY_CACHES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_X_FORCE | Call by reference | Type reference (TYPE) | XFELD | Unabhängig von Latenz abgleichen | 20001020 | |||
| 2 | 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_FOLDER_CACHE has no exception.
History
| Last changed by/on | SAP | 20001201 |
| SAP Release Created in | 50A |