Namespace: Consultingwerk.Framework.Base
Class 
ValueObjectCacheBase Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Inherited by: Consultingwerk.Framework.Base.ValueObjectCache
ABSTRACT

File:ValueObjectCacheBase
Purpose:Abstract base class for Value Object Cache implementations
Description:Caches value objects for a specified amount of time (seconds)
and flushes objects aged too much from the cache. Objects
are stored based on a character key
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Dec 27 20:45:50 CET 2018



Top Method Summary
Options Name Purpose
Progress.Lang.Object GetCachedObjectInternal (character) Returns a cached objet
StoreObjectInternal (character, Object) Stores an object in the cache

Top Constructor Summary
Options Name Purpose
ValueObjectCacheBase (integer) Constructor for the ValueObjectCacheBase class

Top Property Summary
Options Name Purpose
INTEGER MaxCacheAge


Method Detail
Top

Progress.Lang.Object GetCachedObjectInternal (character)

Purpose: Returns a cached objet
Notes:

Parameters:
pcCacheKey CHARACTER
The key under which the object is stored
Returns Progress.Lang.Object
The reference to the cached object or ? when the object is either not cached or the cache is outdated
Top

StoreObjectInternal (character, Object)

Purpose: Stores an object in the cache
Notes:

Parameters:
pcCacheKey CHARACTER
The key under which the object should be stored
poObject Progress.Lang.Object
The reference to the value object to be stored


Constructor Detail
Top

ValueObjectCacheBase (integer)

Purpose: Constructor for the ValueObjectCacheBase class
Notes:

Parameters:
piMaxCacheAge INTEGER
The number of seconds objects should remain cached


Property Detail
Top

INTEGER MaxCacheAge


Returns INTEGER


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       30.03.2026 11:04:11