SAP NetWeaver '04

Package com.sapportals.wcm.util.cache

Contains interfaces and classes for caches that are in memory or persistent.

See:
          Description

Interface Summary
ICache Generic cache interface.
ICacheEntry Represents a cache entry.
ICacheNode Keeps information about dependencies between cache entries.
ICacheStatistics Provides basic statistical information about a cache instance.
IClusterCacheArea Represents a cacheable area.
IExtendedCacheStatistics Provides some additional statistical information about a cache instance.
 

Class Summary
CacheEntryList Represents a list of cache entries.
CacheEntryListIterator An iterator to access elements in a cache entry list.
CacheFactory Create caches (singleton)
 

Exception Summary
CacheException Base class for exceptions in this cache package.
 

Package com.sapportals.wcm.util.cache Description

Contains interfaces and classes for caches that are in memory or persistent.

Package Specification

Purpose

Two kinds of caches are supported: memory caches and persistent caches. Persistent caches store their content in a filessystem.
Cache templates are supported, which can be used to define default cache configurations.

Configuration

In the CM configuration UI:

Configuration of  a memory cache:
PropertyRequiredDescription
Capacity
yes The capacity of the cache (i.e. the max. number of cache entries)
Maximum cache size
yes The max. value for the sum of the size of all cache entries in bytes (0 means no limit)
Maximum entry size
yes The max. size of a cache entry in bytes (0 means no limit)
Entry default time to live
yes The default time in seconds after which a cache entry is removed from the cache automatically (0 means no expiration)
Average entry size
yes The size in bytes a new cache entry is assumed to have if no other size is specified
Singleton
yes The instantiation type of the cache (true for singleton, false otherwise)
Configuration of  a persistent  cache:
PropertyRequiredDescription
Capacity
yes The capacity of the cache (i.e. the max. number of cache entries)
Maximum Cache Size
yes The max. value for the sum of the size of all cache entries in bytes (0 means no limit)
Maximum Entry Size
yes The max. size of a cache entry in bytes (0 means no limit)
Entry default time to live
yes The default time in seconds after which a cache entry is removed from the cache automatically (0 means no expiration)
Folder
yes The folder in which the cache files are stored (must exist already)
Filename prefix
yes The prefix which is preceded the names of the cache files
Secure
yes The desired security type of the cache (true for encrypted cache, false otherwise)
Clear cache on init
yes The desired initialization type of the cache (true if the cache is cleared during initialization, false otherwise)


SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.