Skip to content

API Library MemCacheD

Robert Polak edited this page Jul 24, 2019 · 24 revisions

Home / API Library / MemCacheD

API Library MemCacheD

API Library MemCacheD handling Memory Cache based on the Enyim client. The API Library MemCacheD Methods list with Parameters, Return examples.

Configuration

Configuration- Details

Configuration of MemCacheD variables at App.config.

<configuration>
	<AppSettings>
		<!-- MemCacheD - Switch on [TRUE] or off [FALSE] the MemCacheD -->
		<add key="API_MEMCACHED_ENABLED" value="FALSE" />
		<!-- MemCacheD - Maximum validity in number of seconds that MemCacheD can handle (30 days = 2592000) -->
		<add key="API_MEMCACHED_MAX_VALIDITY" value="2592000" />
		<!-- MemCacheD - Salsa code to isolate the cache records form other applications or environments -->
		<add key="API_MEMCACHED_SALSA" value="subdomain.domain.extension" />		
	</AppSettings>
</configuration>

Store_ADO

Store_ADO- Details

Store_ADO is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls (ADO). Returns Bool.

Method: API.MemCacheD.Store_ADO

Parameters:

Name Type Default Description
nameSpace String Name Space
procedureName String Procedure Name
inputParams Array [ADO_inputParams] Input Params Object
data dynamic data
expiresAt DateTime new DateTime(0) Expires At Date Time
validFor TimeSpan new TimeSpan(0) Valid For Time Period
repository String null Repository

ADO_inputParams - Parameter

Name Type Default Description
name string name
value dynamic value
typeName string typeName

Return: Bool

Clone this wiki locally