SAP ABAP Class CL_NWECM_BINARY_CACHE (ECMI: Node Level Content Cache)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ECM-ABA-COR (Application Component) ECM Core Infrastructure
⤷
S_NWECM_CORE (Package) ECMI: Runtime Implementation
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SERIALIZABLE_OBJECT | Serializable Object | 20090908 |
Properties
| Class | CL_NWECM_BINARY_CACHE | |
| Short Description | ECMI: Node Level Content Cache | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_NWECM_CORE | ECMI: Runtime Implementation |
| Created | 20090908 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_NWECM_BINARY_CACHE has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SERIALIZABLE_OBJECT | Serializable Object | 20090908 |
Friends
Class CL_NWECM_BINARY_CACHE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | See coding | 20090909 | |||||
| 2 | Instance attribute | Private | Type reference (TYPE) | I | 20090909 | ||||
| 3 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20090909 | ||||
| 4 | Instance attribute | Private | Type reference (TYPE) | I | 20090909 | ||||
| 5 | Static Attribute | Private | Type reference (TYPE) | I | 20090909 | ||||
| 6 | Static Attribute | Private | Type reference (TYPE) | STRING | 20090909 | ||||
| 7 | Constant | Private | Type reference (TYPE) | I | -1 | 20090915 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20090909 | |
| 2 | Instance method | Public | Method | Removes all content entries from this cache | 20090908 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20090908 | |
| 4 | Instance method | Public | Method | Discards content from this cache by file id | 20090909 | |
| 5 | Instance method | Private | Method | Makes room for a new mapping | 20090909 | |
| 6 | Instance method | Public | Method | Gets content from this cache by file id | 20090908 | |
| 7 | Instance method | Public | Method | Gets the target maximum number of entries | 20090909 | |
| 8 | Instance method | Private | Method | Checks whether the storage class of a binary is LOCAL | 20090909 | |
| 9 | Instance method | Private | Method | Checks whether the storage class of a binary is PERSISTENT | 20090909 | |
| 10 | Instance method | Private | Method | Checks whether the storage class of a binary is TRANSIENT | 20090909 | |
| 11 | Instance method | Private | Method | Gets the next lru number | 20090909 | |
| 12 | Instance method | Public | Method | Puts content into this cache by file id | 20090908 | |
| 13 | Instance method | Private | Method | Puts content into this cache by file id | 20090909 | |
| 14 | Instance method | Public | Method | Removes content in this cache by file reference | 20090921 | |
| 15 | Instance method | Public | Method | Sets the target maximum number of entries | 20090909 | |
| 16 | Instance method | Public | Method | Updates content from this cache by node id | 20090909 |
Events
Class CL_NWECM_BINARY_CACHE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | NAME_BINARY | Private | See coding | 20090909 | BEGIN OF name_binary,
node_id TYPE string,
name TYPE string,
number TYPE i,
binary TYPE REF TO if_nwecm_binary,
is_modified TYPE abap_bool,
END OF name_binary
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_NWECM_BINARY_CACHE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_NWECM_BINARY_CACHE has no exception.
Method CLEAR Signature
Method CLEAR on class CL_NWECM_BINARY_CACHE has no parameter.
Method CLEAR on class CL_NWECM_BINARY_CACHE has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SIZE | Value transfer | Type reference (TYPE) | I | 20 | Initial maximum number of cached content entries | 20090908 |
Method CONSTRUCTOR on class CL_NWECM_BINARY_CACHE has no exception.
Method DISCARD_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_NODE | Value transfer | Object reference (TYPE REF TO) | IF_NWECM_NODE | 20090909 |
Method DISCARD_CONTENT on class CL_NWECM_BINARY_CACHE has no exception.
Method EVICT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_SUCCESS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090909 |
Method EVICT on class CL_NWECM_BINARY_CACHE has no exception.
Method GET_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NODE_ID | Value transfer | Type reference (TYPE) | STRING | ID of owner node | 20090908 | |||
| 2 | RO_CONTENT | Value transfer | Object reference (TYPE REF TO) | IF_NWECM_CONTENT | node content | 20090908 |
Method GET_CONTENT on class CL_NWECM_BINARY_CACHE has no exception.
Method GET_SIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_SIZE | Value transfer | Type reference (TYPE) | I | 20090909 |
Method GET_SIZE on class CL_NWECM_BINARY_CACHE has no exception.
Method IS_LOCAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_BINARY | Value transfer | Object reference (TYPE REF TO) | IF_NWECM_BINARY | 20090909 | ||||
| 2 | RV_IS_LOCAL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090909 |
Method IS_LOCAL on class CL_NWECM_BINARY_CACHE has no exception.
Method IS_PERSISTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_BINARY | Value transfer | Object reference (TYPE REF TO) | IF_NWECM_BINARY | 20090909 | ||||
| 2 | RV_IS_PERSISTENT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090909 |
Method IS_PERSISTENT on class CL_NWECM_BINARY_CACHE has no exception.
Method IS_TRANSIENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_BINARY | Value transfer | Object reference (TYPE REF TO) | IF_NWECM_BINARY | 20090909 | ||||
| 2 | RV_IS_TRANSIENT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090909 |
Method IS_TRANSIENT on class CL_NWECM_BINARY_CACHE has no exception.
Method NEXT_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CUR_NUMBER | Value transfer | Type reference (TYPE) | I | SC_NO_NUMBER | 20090915 | |||
| 2 | RV_NEXT_NUMBER | Value transfer | Type reference (TYPE) | I | 20090909 |
Method NEXT_NUMBER on class CL_NWECM_BINARY_CACHE has no exception.
Method PUT_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONTENT | Value transfer | Object reference (TYPE REF TO) | IF_NWECM_CONTENT | Content to be cached | 20090908 | |||
| 2 | IV_NODE_ID | Value transfer | Type reference (TYPE) | STRING | ID of content owner file | 20090908 | |||
| 3 | RO_CONTENT | Value transfer | Object reference (TYPE REF TO) | IF_NWECM_CONTENT | Refreshed content | 20090908 |
Method PUT_CONTENT on class CL_NWECM_BINARY_CACHE has no exception.
Method PUT_CONTENT_INT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONTENT | Value transfer | Object reference (TYPE REF TO) | IF_NWECM_CONTENT | 20090909 | ||||
| 2 | IV_IS_MODIFIED | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090909 | |||
| 3 | IV_NODE_ID | Value transfer | Type reference (TYPE) | STRING | 20090909 | ||||
| 4 | RO_CONTENT | Value transfer | Object reference (TYPE REF TO) | IF_NWECM_CONTENT | 20090909 |
Method PUT_CONTENT_INT on class CL_NWECM_BINARY_CACHE has no exception.
Method REMOVE_CONTENT_BY_FILE_REF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_FILE | Value transfer | Object reference (TYPE REF TO) | IF_NWECM_NODE | File of content to be removed | 20090921 |
Method REMOVE_CONTENT_BY_FILE_REF on class CL_NWECM_BINARY_CACHE has no exception.
Method SET_SIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SIZE | Value transfer | Type reference (TYPE) | I | 20 | 20090909 |
Method SET_SIZE on class CL_NWECM_BINARY_CACHE has no exception.
Method UPDATE_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONTENT | Value transfer | Object reference (TYPE REF TO) | IF_NWECM_CONTENT | 20090909 | ||||
| 2 | IV_NODE_ID | Value transfer | Type reference (TYPE) | STRING | 20090909 | ||||
| 3 | RO_CONTENT | Value transfer | Object reference (TYPE REF TO) | IF_NWECM_CONTENT | 20090909 |
Method UPDATE_CONTENT on class CL_NWECM_BINARY_CACHE has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 730 |