Namespace: Consultingwerk.Framework
Class 
LruProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:LruProvider
Purpose:General purpose LRU provider
Description:Uses the ISettingsService to retrieve and store an LRU list
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Nov 22 16:10:33 CET 2020
Purpose: Gets and sets the number of LRU items, default value is 10
Notes:



Top Method Summary
Options Name Purpose
+ Consultingwerk.ListNameValuePair GetLruItems (character) Retrieves the LRU List
+ StoreLruItem (character, character, character) Stores an Item at the top of the LRU list

Top Property Summary
Options Name Purpose
+ INTEGER NumItems
+ CHARACTER SettingsPattern


Method Detail
Top

PUBLIC Consultingwerk.ListNameValuePair GetLruItems (character)

Purpose: Retrieves the LRU List
Notes:

Parameters:
pcSettingsKey CHARACTER
The SettingsKey to retrieve value from
Returns Consultingwerk.ListNameValuePair
The ListNameValuePair representing the LRU Items
Top

PUBLIC StoreLruItem (character, character, character)

Purpose: Stores an Item at the top of the LRU list
Notes:

Parameters:
pcSettingsKey CHARACTER
The SettingsKey to store values to
pcName CHARACTER
The name of the LRU item
pcValue CHARACTER
The value of the LRU item


Property Detail
Top

PUBLIC INTEGER NumItems


Returns INTEGER
Top

PUBLIC CHARACTER SettingsPattern


Returns CHARACTER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 12:59:08