Namespace: Consultingwerk.Framework.Base
Class 
ValueObjectCache Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Framework.Base.ValueObjectCacheBase

File:ValueObjectCache
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:41:41 CET 2018



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

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


Method Detail
Top

Progress.Lang.Object GetCachedObject (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

StoreObject (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

ValueObjectCache (integer)

Purpose: Constructor for the ValueObjectCache class
Notes:

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


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