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 MT_BINARY_MAP Instance attribute Private See coding 20090909
2 MV_CUR_NUMBER Instance attribute Private Type reference (TYPE) I 20090909
3 MV_PUT_SUCCESSFUL Instance attribute Private Type reference (TYPE) ABAP_BOOL 20090909
4 MV_SIZE Instance attribute Private Type reference (TYPE) I 20090909
5 SC_EVICTION_EXCEPTED Static Attribute Private Type reference (TYPE) I 20090909
6 SC_NO_NAME Static Attribute Private Type reference (TYPE) STRING 20090909
7 SC_NO_NUMBER Constant Private Type reference (TYPE) I -1 20090915
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20090909
2 CLEAR Instance method Public Method Removes all content entries from this cache 20090908
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20090908
4 DISCARD_CONTENT Instance method Public Method Discards content from this cache by file id 20090909
5 EVICT Instance method Private Method Makes room for a new mapping 20090909
6 GET_CONTENT Instance method Public Method Gets content from this cache by file id 20090908
7 GET_SIZE Instance method Public Method Gets the target maximum number of entries 20090909
8 IS_LOCAL Instance method Private Method Checks whether the storage class of a binary is LOCAL 20090909
9 IS_PERSISTENT Instance method Private Method Checks whether the storage class of a binary is PERSISTENT 20090909
10 IS_TRANSIENT Instance method Private Method Checks whether the storage class of a binary is TRANSIENT 20090909
11 NEXT_NUMBER Instance method Private Method Gets the next lru number 20090909
12 PUT_CONTENT Instance method Public Method Puts content into this cache by file id 20090908
13 PUT_CONTENT_INT Instance method Private Method Puts content into this cache by file id 20090909
14 REMOVE_CONTENT_BY_FILE_REF Instance method Public Method Removes content in this cache by file reference 20090921
15 SET_SIZE Instance method Public Method Sets the target maximum number of entries 20090909
16 UPDATE_CONTENT 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 Importing 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 Importing 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 Returning 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 Importing IV_NODE_ID Value transfer Type reference (TYPE) STRING ID of owner node 20090908
2 Returning 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 Returning 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 Importing IO_BINARY Value transfer Object reference (TYPE REF TO) IF_NWECM_BINARY 20090909
2 Returning 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 Importing IO_BINARY Value transfer Object reference (TYPE REF TO) IF_NWECM_BINARY 20090909
2 Returning 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 Importing IO_BINARY Value transfer Object reference (TYPE REF TO) IF_NWECM_BINARY 20090909
2 Returning 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 Importing IV_CUR_NUMBER Value transfer Type reference (TYPE) I SC_NO_NUMBER 20090915
2 Returning 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 Importing IO_CONTENT Value transfer Object reference (TYPE REF TO) IF_NWECM_CONTENT Content to be cached 20090908
2 Importing IV_NODE_ID Value transfer Type reference (TYPE) STRING ID of content owner file 20090908
3 Returning 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 Importing IO_CONTENT Value transfer Object reference (TYPE REF TO) IF_NWECM_CONTENT 20090909
2 Importing IV_IS_MODIFIED Value transfer Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20090909
3 Importing IV_NODE_ID Value transfer Type reference (TYPE) STRING 20090909
4 Returning 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 Importing 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 Importing 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 Importing IO_CONTENT Value transfer Object reference (TYPE REF TO) IF_NWECM_CONTENT 20090909
2 Importing IV_NODE_ID Value transfer Type reference (TYPE) STRING 20090909
3 Returning 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