Namespace: Consultingwerk.OERA
Class 
CountResultsCache Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.OERA.ICountResultsCache

File:CountResultsCache
Purpose:Services that stores a cache of record counts
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue May 30 23:57:18 CEST 2017
Notes:Cache max age in number of seconds can be configured in the
configuration provider CountResultsCacheMaxAge property.
Defaults to 60 (seconds)



Top Method Summary
Options Name Purpose
+ INT64 GetCountResult (character, ICountRecordsRequest) Returns the stored number of results
+ StoreCountResult (character, ICountRecordsRequest, int64) Stores a result count

Top Constructor Summary
Options Name Purpose
+ CountResultsCache () Constructor for the CountResultsCache class


Method Detail
Top

PUBLIC INT64 GetCountResult (character, ICountRecordsRequest)

Purpose: Returns the stored number of results
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity
poRequest Consultingwerk.OERA.ICountRecordsRequest
The ICountRecordRequest instance
Returns INT64
The stored number of results or ?
Top

PUBLIC StoreCountResult (character, ICountRecordsRequest, int64)

Purpose: Stores a result count
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity
poRequest Consultingwerk.OERA.ICountRecordsRequest
The ICountRecordRequest instance
piResults INT64
The result to store


Constructor Detail
Top

PUBLIC CountResultsCache ()

Purpose: Constructor for the CountResultsCache class
Notes:



©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:28:25